Contact Learn C
Copy

Program 387: Left Reverse Symbol Steps Pattern

Program 387: Left Reverse Symbol Steps Pattern
 
#include<stdio.h>
main()
{
    int i,j,num,c;
    printf("Enter number of rows\n");
    scanf("%d",&num);
    c=num;
    for(i=num;i>=1;i--)
    {
    
        for(j=c;j>=1;j--)
        {
            printf("* ");
           
        }
        if(i%2==1)
        {
         c-=2;
        }
        
    printf("\n");
    }
}
Explanation:
 //Coming Soon


Output:
Left Reverse Symbol Steps Pattern


Donate

Download App and Learn when ever you want

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