kmitl-profund-exercise/square-filler/main.cpp

16 lines
239 B
C++
Raw Permalink Normal View History

2023-04-02 17:56:49 +00:00
#include<stdio.h>
int main() {
int x,i,j;
printf("Gimme a size : ");
scanf("%d", &x);
for(i=1;i<=x;i++) {
printf("\n");
for(j=1;j<=x;j++) {
printf("*");
}
}
return 0;
}