#include int main() { int n = 4, a = 1; int i, c; for (i = 1; i <=n; i++) { for (c = 1; c <= i; c++) { printf("%d", a); a++; } printf("\n"); } }