//output * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * for (int i = 1; i <= 5; i++) // outer loop { for(int j= 1; j<=10; j++) // inner loop { System.out.print(" * "); } System.out.println(); // end the line } }