This commit is contained in:
2024-03-26 11:15:25 +03:00
parent 4ecfebcd1b
commit 04d946e28c
38 changed files with 91 additions and 0 deletions

View File

@ -0,0 +1,21 @@
#include <stdio.h>
int main(void){
int a = 0;
int b = 1;
int c = 1;
printf("%s\n","Enter side of asteriks!");
scanf("%d", &a);
while(b <= a) {
while(c <= a) {
printf("*");
c++;
}
printf("\n");
c = 1;
b++;
}
return 0;
}