From 3130318a7606fc61b44764fcb6493667b51231ae Mon Sep 17 00:00:00 2001 From: Hamza elkhatri <40549481+Hamzaelkhatri@users.noreply.github.com> Date: Tue, 21 Jun 2022 10:37:24 +0100 Subject: [PATCH] Update README.md --- subjects/betweenus/README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/subjects/betweenus/README.md b/subjects/betweenus/README.md index fc1a8567..d223206b 100644 --- a/subjects/betweenus/README.md +++ b/subjects/betweenus/README.md @@ -1,9 +1,12 @@ ## between-us -write a function named `BetweenUs` that takes 3 paramters and return : -- if the first paramter is between the second and third paramters, return **true** else return **false** +### Instructions -### Function +Write a function named `BetweenUs` that takes 3 paramters and return : +- If the first paramter is between the second and third paramters, return **true** else return **false** +- If the second parameter is bigger than the third return **false** + +### Expected function ```go func BetweenUs(num, min, max int) bool { // Your code here @@ -30,6 +33,8 @@ func main(){ } ``` +and the output should be: + ```console $ go run . false