clarify instructions in the readme and rename bool to boolean

This commit is contained in:
Augusto 2019-06-17 17:12:20 +01:00 committed by Christopher Fremond
parent 26f70ef967
commit dc84c8feb3
2 changed files with 6 additions and 7 deletions

View File

@ -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
```