Computer Science, asked by Sanika074, 1 year ago

write a menu driven program to display the pattern
1 2 3 4 5 6 7
1 2 3 4 5 6
1 2 3 4 5
1 2 3 4
1 2 3
1 2
1

Answers

Answered by yuvan11172001
1

I try to ready this program in c language

Explanation:

#include<studio.h>

#include<conio.h>

{

int i,j;

Clrscr();

for(i=7;i>=1;i--);

{

for(j=1;j<=i;j++);

{

printf("%d",j);

}

printf("\n");

}

getch ();

}

Similar questions