|
|
@ -4,11 +4,11 @@ |
|
|
|
|
|
|
|
|
|
|
|
### Instructions |
|
|
|
### Instructions |
|
|
|
|
|
|
|
|
|
|
|
Write a function `QuadA` that prints a **valid** rectangle of width `x` and of height `y`. |
|
|
|
Write a function `QuadA` that prints a **valid** rectangle with a given width of `x` and height of `y`. |
|
|
|
|
|
|
|
|
|
|
|
The function must draw the rectangles as in the examples. |
|
|
|
The function must draw the rectangles as in the examples. |
|
|
|
|
|
|
|
|
|
|
|
`x` and `y` will always be positive numbers. Otherwise, the function should print nothing. |
|
|
|
If `x` and `y` are positive numbers, the program should print the rectangles as seen in the examples, otherwise, the function should print nothing. |
|
|
|
|
|
|
|
|
|
|
|
### Expected function |
|
|
|
### Expected function |
|
|
|
|
|
|
|
|
|
|
@ -118,7 +118,8 @@ Write a function `QuadB` that prints a **valid** rectangle of width `x` and of h |
|
|
|
|
|
|
|
|
|
|
|
The function must draw the rectangles as in the examples. |
|
|
|
The function must draw the rectangles as in the examples. |
|
|
|
|
|
|
|
|
|
|
|
`x` and `y` will always be positive numbers. Otherwise, the function should print nothing. |
|
|
|
If `x` and `y` are positive numbers, the program should print the rectangles as seen in the examples, otherwise, the function should print nothing. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Expected function |
|
|
|
### Expected function |
|
|
|
|
|
|
|
|
|
|
@ -228,7 +229,7 @@ Write a function `QuadC` that prints a **valid** rectangle of width `x` and of h |
|
|
|
|
|
|
|
|
|
|
|
The function must draw the rectangles as in the examples. |
|
|
|
The function must draw the rectangles as in the examples. |
|
|
|
|
|
|
|
|
|
|
|
`x` and `y` will always be positive numbers. Otherwise, the function should print nothing. |
|
|
|
If `x` and `y` are positive numbers, the program should print the rectangles as seen in the examples, otherwise, the function should print nothing. |
|
|
|
|
|
|
|
|
|
|
|
### Expected function |
|
|
|
### Expected function |
|
|
|
|
|
|
|
|
|
|
@ -338,7 +339,7 @@ Write a function `QuadD` that prints a **valid** rectangle of width `x` and of h |
|
|
|
|
|
|
|
|
|
|
|
The function must draw the rectangles as in the examples. |
|
|
|
The function must draw the rectangles as in the examples. |
|
|
|
|
|
|
|
|
|
|
|
`x` and `y` will always be positive numbers. Otherwise, the function should print nothing. |
|
|
|
If `x` and `y` are positive numbers, the program should print the rectangles as seen in the examples, otherwise, the function should print nothing. |
|
|
|
|
|
|
|
|
|
|
|
### Expected function |
|
|
|
### Expected function |
|
|
|
|
|
|
|
|
|
|
@ -448,7 +449,8 @@ Write a function `QuadE` that prints a **valid** rectangle of width `x` and of h |
|
|
|
|
|
|
|
|
|
|
|
The function must draw the rectangles as in the examples. |
|
|
|
The function must draw the rectangles as in the examples. |
|
|
|
|
|
|
|
|
|
|
|
`x` and `y` will always be positive numbers. Otherwise, the function should print nothing. |
|
|
|
If `x` and `y` are positive numbers, the program should print the rectangles as seen in the examples, otherwise, the function should print nothing. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Expected function |
|
|
|
### Expected function |
|
|
|
|
|
|
|
|
|
|
|