From dc84c8feb35ff832729d82dd639b942ea12f3387 Mon Sep 17 00:00:00 2001 From: Augusto Date: Mon, 17 Jun 2019 17:12:20 +0100 Subject: [PATCH] clarify instructions in the readme and rename bool to boolean --- subjects/{bool.fr.md => boolean.en.md} | 13 ++++++------- subjects/{bool.en.md => boolean.fr.md} | 0 2 files changed, 6 insertions(+), 7 deletions(-) rename subjects/{bool.fr.md => boolean.en.md} (59%) rename subjects/{bool.en.md => boolean.fr.md} (100%) diff --git a/subjects/bool.fr.md b/subjects/boolean.en.md similarity index 59% rename from subjects/bool.fr.md rename to subjects/boolean.en.md index 2c23b376a..ff2a3e489 100644 --- a/subjects/bool.fr.md +++ b/subjects/boolean.en.md @@ -2,9 +2,10 @@ ### Instructions -Create a `.go` file and copy the code below into our file +Create a `.go` file and copy the code below into that file +and add the code necessary so the program works. -- The main task is to return a working program. +- The program must be submitted inside a folder with the name `boolean`. ```go func printStr(str string) { @@ -36,11 +37,9 @@ func main() { ### Expected output ```console +student@ubuntu:~/student/boolean$ go build +student@ubuntu:~/student/boolean$ ./boolean "not" "odd" I have an even number of arguments -``` - -### Or - -```console +student@ubuntu:~/student/boolean$ ./boolean "not even" I have an odd number of arguments ``` diff --git a/subjects/bool.en.md b/subjects/boolean.fr.md similarity index 100% rename from subjects/bool.en.md rename to subjects/boolean.fr.md