#include "stdio.h" main() { int a,i=1,j; scanf("%d",&a); while (i<=a) { j=1; while (j<=a) { printf("*"); j++; } printf("\n"); i++; } getch(); }