#include <stdio.h> int main() { int i = 0, j = 0, m = 0; while (scanf("%d", &i) != EOF) { for (j = 0; j < i; j++) { for (m = 0; m < i; m++) { printf("* "); } printf("\n"); } } return 0; }
#include <stdio.h> int main() { int i = 0, j = 0, m = 0; while (scanf("%d", &i) != EOF) { for (j = 0; j < i; j++) { for (m = 0; m < i; m++) { printf("* "); } printf("\n"); } } return 0; }