fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. for(int i = 0, x = 1; i < 5; ++i, x += i) {
  5. for(int j = 0; j < x; ++j)
  6. printf("%c", i+j+'A');
  7. printf("\n");
  8. }
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 9432KB
stdin
Standard input is empty
stdout
A
BC
CDEF
DEFGHIJ
EFGHIJKLMNO