Contact Learn C
Copy Program Share Program

Program 57:Reverse Alpha Pattern 3

Program 57:
 
#include<stdio.h>
main()
{
    int i,j,num,k;
    printf("Enter number of rows\n");
    scanf("%d",&num);

    for(i=num;i>=1;i--)
    {
            k=num+64;
        for(j=1;j<=i;j++)
        {
            printf("%c",k);
                k--;
        }

        
    printf("\n");
    }
}
Explanation:

//Coming Soon...

 Output:

Reverse Alpha Pattern3

Download App and Learn when ever you want

Get it on PlayStore
Get it on Amazon App Store
Get it on Aptoide