fork download
  1. class Pattern
  2. {
  3. public static void main(String args[])
  4. {
  5. int i,j;
  6. int temp=5;
  7.  
  8. for(i=0;i<=4;i++)
  9. {
  10. for(j=0;j<=4;j++)
  11. {
  12. System.out.print("*");
  13. }
  14. }System.out.println("");
  15. temp--;
  16. }
  17. }
Success #stdin #stdout 0.06s 32684KB
stdin
Standard input is empty
stdout
*************************