Write A Program for printing Right Angle triangle of stars

# include<stdio.h> #include<conio.h> void main() { int i, j; for ( i = 1; I < = 4; i ++) { for ( j = 1; j &...

# include<stdio.h>
#include<conio.h>
void main()
{
int i, j;
for ( i = 1; I < = 4; i ++)
{
for ( j = 1; j <= i; j ++)
{
 printf("*");
}
printf ( “\n”);
}

getch ( );
}

Out Put:

*
* *
* * *
* * * *

Related

C Programs 6466936968738516907

Post a Comment

emo-but-icon

item