Techknow Study

right angle triangle

9:56:00 PM vikas 0 Comments Category :

 right angle triangle





program:-

#include<stdio.h>
#include<conio.h>
void main()
{
int i,j;
clrscr();
printf("right angle tringle is\n");
for(i=1;i<7;i++)
{
for(j=1;j<=i;j++)
{
printf("*");
}
printf("\n");
}
getch();
}
  • try for next questions.........

RELATED POSTS

0 comments