Rephrase instructions for exercise splitwhitespaces and some small fixes

This commit is contained in:
Augusto 2021-06-07 16:29:17 +01:00
parent 5aa202fc57
commit 0dc5d03516
4 changed files with 4 additions and 6 deletions

View File

@ -2,7 +2,7 @@
### Instructions
Write a function that takes an `int` min and an `int` max as parameters. That function returns a slice of `int` with all the values between min and max.
Write a function that takes an `int` min and an `int` max as parameters. That function returns a slice of `int`s with all the values between min and max.
Min is included, and max is excluded.

View File

@ -3,7 +3,7 @@
### Instructions
Write a function that takes an `int` min and an `int` max as parameters.
That function returns a slice of `int` with all the values between min and max.
That function returns a slice of `int`s with all the values between min and max.
Min is included, and max is excluded.

View File

@ -2,9 +2,7 @@
### Instructions
Write a function that prints the words of a `string` slice that will be returned by a function `SplitWhiteSpaces`.
Each word is on a single line (each word ends with a `\n`).
Write a function that receives a `string slice` and prints each element of the slice in one line.
### Expected function

View File

@ -2,7 +2,7 @@
### Instructions
Write a function that separates the words of a `string` and puts them in a `string` slice.
Write a function that separates the words of a `string` and puts them in a `string slice`.
The separators are spaces, tabs and newlines.