mirror of https://github.com/01-edu/public.git
Rephrase instructions for exercise splitwhitespaces and some small fixes
This commit is contained in:
parent
5aa202fc57
commit
0dc5d03516
|
@ -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.
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue