  | 
| Fig: Screenshot of Output | 
using System;
class PatternProgramming
{
 public static void Main()
 {
  int i,j,row;
  Console.Write("Enter the no. of row yu want to print: ");
  row=Convert.ToInt32(Console.ReadLine());
  
  for(i=1;i<=row;i++)
  {
   for(j=i;j>=1;j--)
   Console.Write(j);
   Console.WriteLine();
  }
  
 }
}