#include <stdio.h>#include <math.h>int main(){char c,c1='A';int n=0;for (c = 'A'; c <= 'U'; c++){printf("%c", c);if (c-c1==n) { printf("\n"); n++; c1=c+1;}}}
Standard input is empty
A BC DEF GHIJ KLMNO PQRSTU
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!