16 lines
239 B
C++
16 lines
239 B
C++
|
#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<=i;j++) {
|
||
|
printf("*");
|
||
|
}
|
||
|
}
|
||
|
return 0;
|
||
|
}
|