Skip to content

Commit

Permalink
added by Tanya
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanya7777 committed Nov 18, 2022
1 parent 980c573 commit ff0664a
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions tanya.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#include <stdio.h>

int main()
{
for(int i=1;i<=5;i++)
{
for(int j=1;j<=5;j++)
{
if(i==1 || i==5)
{
if (j==1 || j==5 )

printf("+");
else
printf("-");
}
else
{

if (j==1 || j==5)

printf("|");
else
printf(" ");
}
}

printf("\n");
}

return 0;
}

0 comments on commit ff0664a

Please sign in to comment.