From 13676a666001f29d5f3f33d808608c4d4209631f Mon Sep 17 00:00:00 2001 From: Pav01Founders <92518689+Pav01Founders@users.noreply.github.com> Date: Thu, 14 Oct 2021 13:02:26 +0100 Subject: [PATCH] Update README.md Updates to the instructions for improved readability. --- subjects/quad/README.md | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/subjects/quad/README.md b/subjects/quad/README.md index eb1091eb..add0648e 100644 --- a/subjects/quad/README.md +++ b/subjects/quad/README.md @@ -4,11 +4,11 @@ ### 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. -`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; oherwise, the function should print nothing. ### Expected function @@ -18,7 +18,7 @@ func QuadA(x,y int) { } ``` -### Usage +### Test Here are possible programs to test your 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. -`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; oherwise, the function should print nothing. + ### Expected function @@ -128,7 +129,7 @@ func QuadB(x,y int) { } ``` -### Usage +### Test Here are possible programs to test your function : @@ -228,7 +229,8 @@ 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. -`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; oherwise, the function should print nothing. + ### Expected function @@ -238,7 +240,7 @@ func QuadC(x,y int) { } ``` -### Usage +### Test Here are possible programs to test your function : @@ -338,7 +340,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. -`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; oherwise, the function should print nothing. ### Expected function @@ -348,7 +350,7 @@ func QuadD(x,y int) { } ``` -### Usage +### Test Here are possible programs to test your function : @@ -448,7 +450,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. -`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; oherwise, the function should print nothing. + ### Expected function @@ -458,7 +461,7 @@ func QuadE(x,y int) { } ``` -### Usage +### Test Here are possible programs to test your function :