|
|
|
@ -8,7 +8,7 @@ Write a function `QuadA` that prints a **valid** rectangle with a given width of
|
|
|
|
|
|
|
|
|
|
The function must draw the rectangles as in the examples. |
|
|
|
|
|
|
|
|
|
If `x` and `y` are positive numbers, the program should print the rectangles as seen in the examples; oherwise, the function should print nothing. |
|
|
|
|
If `x` and `y` are positive numbers, the program should print the rectangles as seen in the examples, oherwise, the function should print nothing. |
|
|
|
|
|
|
|
|
|
### Expected function |
|
|
|
|
|
|
|
|
@ -18,7 +18,7 @@ func QuadA(x,y int) {
|
|
|
|
|
} |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
### Test |
|
|
|
|
### Usage |
|
|
|
|
|
|
|
|
|
Here are possible programs to test your function : |
|
|
|
|
|
|
|
|
@ -118,7 +118,7 @@ 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. |
|
|
|
|
|
|
|
|
|
If `x` and `y` are positive numbers, the program should print the rectangles as seen in the examples; oherwise, the function should print nothing. |
|
|
|
|
If `x` and `y` are positive numbers, the program should print the rectangles as seen in the examples, oherwise, the function should print nothing. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Expected function |
|
|
|
@ -129,7 +129,7 @@ func QuadB(x,y int) {
|
|
|
|
|
} |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
### Test |
|
|
|
|
### Usage |
|
|
|
|
|
|
|
|
|
Here are possible programs to test your function : |
|
|
|
|
|
|
|
|
@ -229,8 +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. |
|
|
|
|
|
|
|
|
|
If `x` and `y` are positive numbers, the program should print the rectangles as seen in the examples; oherwise, the function should print nothing. |
|
|
|
|
|
|
|
|
|
If `x` and `y` are positive numbers, the program should print the rectangles as seen in the examples, oherwise, the function should print nothing. |
|
|
|
|
|
|
|
|
|
### Expected function |
|
|
|
|
|
|
|
|
@ -240,7 +239,7 @@ func QuadC(x,y int) {
|
|
|
|
|
} |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
### Test |
|
|
|
|
### Usage |
|
|
|
|
|
|
|
|
|
Here are possible programs to test your function : |
|
|
|
|
|
|
|
|
@ -340,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. |
|
|
|
|
|
|
|
|
|
If `x` and `y` are positive numbers, the program should print the rectangles as seen in the examples; oherwise, the function should print nothing. |
|
|
|
|
If `x` and `y` are positive numbers, the program should print the rectangles as seen in the examples, oherwise, the function should print nothing. |
|
|
|
|
|
|
|
|
|
### Expected function |
|
|
|
|
|
|
|
|
@ -350,7 +349,7 @@ func QuadD(x,y int) {
|
|
|
|
|
} |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
### Test |
|
|
|
|
### Usage |
|
|
|
|
|
|
|
|
|
Here are possible programs to test your function : |
|
|
|
|
|
|
|
|
@ -450,7 +449,7 @@ 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. |
|
|
|
|
|
|
|
|
|
If `x` and `y` are positive numbers, the program should print the rectangles as seen in the examples; oherwise, the function should print nothing. |
|
|
|
|
If `x` and `y` are positive numbers, the program should print the rectangles as seen in the examples, oherwise, the function should print nothing. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Expected function |
|
|
|
@ -461,7 +460,7 @@ func QuadE(x,y int) {
|
|
|
|
|
} |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
### Test |
|
|
|
|
### Usage |
|
|
|
|
|
|
|
|
|
Here are possible programs to test your function : |
|
|
|
|
|
|
|
|
|