CJCoding With Joseph

Nested Loops: Rectangle of Stars

Use nested loops to print a rectangle of stars with 3 rows and 5 columns. Each row is five '*' characters.

Expected output:
*****
*****
*****

Expected Output:

*****
*****
*****
Topics:
Loops
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (clog, fn, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.