Skip to content

Commit

Permalink
Merge pull request AdarshAddee#16 from sarthakroy2002/main
Browse files Browse the repository at this point in the history
C: Add a * pattern
  • Loading branch information
AdarshAddee authored Oct 1, 2022
2 parents 81a4bbd + b3bf6ab commit 98e0d83
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions C/Star Pattern 1 in C.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// Sarthak Roy (sarthakroy2002)
#include<stdio.h>
int main()
{
for(int i=0;i<5;i++)
{
for(int j=i;j<5;j++)
{
printf("*");
}
printf("\n");
}
return 0;
}
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
| Name | Github Link | Email ID |
| ------|----------|---------- |
| Adarsh Addee | <a href="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/AdarshAddee">Adarsh Addee</a> | <a href="mailto:[email protected]">E-Mail</a> |
| Sarthak Roy | <a href="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/sarthakroy2002">Sarthak Roy</a> | <a href="mailto:[email protected]">E-Mail</a> |

| Name | Github Link | Email ID |
| ------|----------|---------- |
Expand Down

0 comments on commit 98e0d83

Please sign in to comment.