Friday, August 23, 2019

Star Pattern Pattern 14

Star Pattern Pattern 14:


Star Pattern Pattern in cprograms.


*
**
***
****
*****
****
***
**
*

#include<stdio.h>
#include<conio.h>

void main()
{
int i,j;
clrscr();
for(i=5;i>=-5;i--)
{
for(j=5;j>abs(i);j--)
{
printf("*");
}
printf("\n");
}
getch();

}


EmoticonEmoticon