Skip to content

Commit ef5ebb5

Browse files
committed
Added a Pattern Problem
1 parent 9f9ce3f commit ef5ebb5

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#include<stdio.h>
2+
int main()
3+
{
4+
int n, i;
5+
scanf("%d", &n);
6+
for(i=0;i<n;i++)
7+
{
8+
printf("\n* *");
9+
printf("\n* *");
10+
printf("\n*****");
11+
}
12+
printf("\n* *");
13+
printf("\n* *");
14+
return 0;
15+
}
43.2 KB
Loading

0 commit comments

Comments
 (0)