import java.util.*; class NumPattern { public static void main(String args[]) { int i,j,n; System.out.println("enter no. of rows:"); Scanner sc=new Scanner(System.in); n=sc.nextInt(); for(i=1;i