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 1/3] 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 : From a31d79264f4c5254640f305f6ae3784909a5b713 Mon Sep 17 00:00:00 2001 From: OGordoo <39002518+OGordoo@users.noreply.github.com> Date: Wed, 27 Oct 2021 16:45:07 +0100 Subject: [PATCH 2/3] Changing `Test` to `Usage` --- subjects/quad/README.md | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/subjects/quad/README.md b/subjects/quad/README.md index add0648e..63f29baf 100644 --- a/subjects/quad/README.md +++ b/subjects/quad/README.md @@ -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 : From a7a20811da9070133f9cd3b73fa186aad167ebbf Mon Sep 17 00:00:00 2001 From: OGordoo <39002518+OGordoo@users.noreply.github.com> Date: Wed, 27 Oct 2021 16:46:30 +0100 Subject: [PATCH 3/3] otherwise typo --- subjects/quad/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/subjects/quad/README.md b/subjects/quad/README.md index 63f29baf..a618930c 100644 --- a/subjects/quad/README.md +++ b/subjects/quad/README.md @@ -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, otherwise, the function should print nothing. ### Expected 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, otherwise, the function should print nothing. ### Expected function @@ -229,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. -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, otherwise, the function should print nothing. ### Expected function @@ -339,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, otherwise, the function should print nothing. ### Expected function @@ -449,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, otherwise, the function should print nothing. ### Expected function