Contact Learn C
Copy Program Share Program

Program 274: Numerical Pattern 5 Reverse Number

Program 274: Numerical Pattern 5 Reverse Number

#include<stdio.h>
main()
{
 int i,j,rows,k=1;
 printf("Enter number of rows\n");
 scanf("%d",&rows);
 for(i=1;i<=rows;i++)
 {
  for(j=k;j>=1;j--)
  {
   printf("%d",j);     
  }
  k++;
  printf("\n");
 }
}
Explanation:

//Coming Soon

Output:

Numerical Pattern Reverse Number




Download App and Learn when ever you want

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