//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 } }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter