Arnab_Manna

ass_pattern1.java

Dec 7th, 2021
678
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class patt1
  2. {
  3.     public static void main(String []args){
  4.         int i,j, n=5;
  5.         for(i=0;i<=n;i++)
  6.         {
  7.             for(j=0;j<i;j++)
  8.             {
  9.                 System.out.print("* ");
  10.             }
  11.             System.out.println();
  12.         }
  13.     }
  14. }
  15.            
  16.    
RAW Paste Data