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