fix: the last example in text wrapper

This commit is contained in:
Inanc Gumus
2019-04-18 12:35:48 +03:00
committed by GitHub
parent 5b1481b3b5
commit 6f02276343

View File

@ -19,13 +19,15 @@ Wrap the given text for 40 characters per line. For example, for the following i
* The program should work with Unicode text. You can find a unicode text in [story.txt](story.txt) file. * The program should work with Unicode text. You can find a unicode text in [story.txt](story.txt) file.
* The program should not cut the words before they finish. Instead, it should put the whole word on the next line. For example, this is not OK: * The program should not cut the words before they finish. Instead, it should put the whole word on the next line.
For example, this is not OK:
Hello world, how is it goi Hello world, how is it goi
ng? It is o ng? It is o
k. The weather is beautifu k. The weather is beautifu
l. l.
## SOLUTION ## SOLUTION
* [Get the solution source code here](main.go). * [Get the solution source code here](main.go).