Score: 0
HiScore: 0
Right Triangle Star Pattern :
#include<stdio.h>
#include<conio.h>
void main ()
{
int i,j;
clrscr();
for(i=1;i<=5;i++)
{
for(j=1;j<=i;j++)
{
printf("*");
}
printf("\n");
}
getch();
}
Output :
*
**
***
****
*****
If You Like my Blog Please Subscribe my You Tube Channel:
Allrounder SITA RAM SAHU
link
Also Follow my Blog I am Daily Post One Program On this Blog:
Allrounder SITA RAM SAHU
link
No comments:
Post a Comment