// Program to print number 1 in C language with CBhashaGyan
#include<stdio.h>
int main()
{
int i, j;
for (i=1; i<=5; i++)
{
for(j=1; j<=5; j++)
{
if(i==5 || j==3)
printf("* "); // star and space
else if( i==2 && j==2)
printf("* "); //star and space
else
printf(" "); // double space
}
printf("\n"); //new line
}
return 0;
}
Output:
*
* *
*
*
* * * * *