CJCoding With Joseph

Rectangle of Stars

Read two numbers from input: the number of rows, then the number of columns. Use nested loops to print a solid rectangle of * characters.

For input 2 then 3 the output is:

***
***

Expected Output:

***
***
Topics:
Loops
๐Ÿ“ฅ Auto-Input:
2\n3\n
This input is automatically fed to your program's stdin
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cw, cr, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.