You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
172 B
15 lines
172 B
2 years ago
|
#include<bits/stdc++.h>
|
||
|
|
||
|
int main() {
|
||
|
int n,i,j;
|
||
|
n = 10;
|
||
|
for(i = 1; i <= n; i++) {
|
||
|
for(j = 1; j <= i; j++)
|
||
|
{
|
||
|
printf("* ");
|
||
|
}
|
||
|
printf("\n");
|
||
|
}
|
||
|
return 0;
|
||
|
}
|