Techknow_Study

Inverted Right Angle triangle

Inverted Right Angle triangle………

Program……….

#include
#include
void main()
{
int i,j;
clrscr();
printf(“right angle tringle is\n”);
for(i=1;i<7;i++)
{
for(j=5;j>=i;j–)
{
printf(“*”);
}
printf(“\n”);
}
getch();
}


Single Post Navigation

Leave a comment

Design a site like this with WordPress.com
Get started