Rectangles
Time limit2sMemory limit512 MB
Read R and C, then print R lines of C asterisks each to draw a rectangle.
- Level
Easy1 of 10
- Topics
- Implementation
- Solved
- No attempts yet
Problem
Read two integers and , then print lines that each contain asterisks *. The printed shape is a rectangle characters wide and lines tall.
Input
The first line contains the integer , the number of lines to print.
The second line contains the integer , the number of asterisks to print on each line.
.
Output
Print lines, each holding asterisks *.