0
1.2kviews
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
2views
#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.