Computer Science, asked by nikhilranjan44p3eiso, 1 year ago

write a java program to print the pattern

Answers

Answered by Akash2910
0
please type the entire question
Answered by anuj
3
HEYA FRIend,,


u din mention about which program hence i m giving u soln of  a simple  program 

 class PATTERN1
{   
    public static void main()  
  {        
            int i, j;                 
             
           for(i=0; i<5; i++)        
              { 
              for(j=0; j<=i; j++)
                    { 
                             System.out.print("*");     
                                   }    
     
                System.out.println();  
                 } 
  }


output's like
*
**
***
****
*****


HOPE IT HELPS!!!!!!!!!!!
Similar questions