Attachments
-
You do not have permission to view the full content of this post. Log in or register now.
#include <stdio.h>
int main() {
int i, j;
int maxRows = 5;
for(i = 1; i <= maxRows; i++){
for(j = 1; j <= i; j++){
printf("%d ", j);
}
printf("\n");
}
return 0;
}