0
671views
Write a C program to print following pattern.

Mumbai University> FE > Sem 2> STRUCTURED PROGRAMMING APPROACH

Marks: 6 M

Year: Dec 2016

1 Answer
0
1views
#include<stdio.h>
#include<conio.h>
main()
{
int i,j;
for(i=1;i<=5;i++)
{
    for(j=1;j<=i;j++)
    {
        printf("%c",(char)(70-j));

    }    
    printf("\n");
}
getch();
}

Output:
E
ED
EDC
EDCB
EDCBA
Please log in to add an answer.

Continue reading...

The best way to discover useful content is by searching it.

Search