Quadrilateral
Time limit1sMemory limit256 MB
Print a solid rectangle of X letters for each given width and height, separating consecutive outputs with a blank line.
- Level
Easy1 of 10
- Topics
- Implementation
- Solved
- No attempts yet
Problem
A quadrilateral is a figure with four sides. For this problem, print a rectangle using the capital letter X. Each side length is between 1 and 20 inclusive.
Input
The first line contains the number of datasets. Each dataset is two integers: the width and the height of the rectangle.
Output
For each dataset, print the rectangle filled with X. Separate consecutive datasets with a blank line.