From d686fdd749cb394477d902731e3938ef398d926f Mon Sep 17 00:00:00 2001 From: Inanc Gumus Date: Fri, 5 Apr 2019 15:06:49 +0300 Subject: [PATCH] update: text wrapper project readme --- 21-project-text-wrapper/README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/21-project-text-wrapper/README.md b/21-project-text-wrapper/README.md index 9790dab..f276840 100644 --- a/21-project-text-wrapper/README.md +++ b/21-project-text-wrapper/README.md @@ -7,12 +7,16 @@ In this project your goal is to mimic the soft text wrapping feature of text edi Wrap the text for 40 characters in a line. For example, for the following input, the program should print the following output. **INPUT:** -Hello world, how is it going? It is ok. The weather is beautiful. + + Hello world, how is it going? It is ok. The weather is beautiful. **OUTPUT:** -Hello world, how is it going? It is ok. -The weather is beautiful. + + Hello world, how is it going? It is ok. + The weather is beautiful. ## RULES -* The program should also work with Unicode text. You can find a unicode story in [story.txt](story.txt) file in the current folder. Please use the text in the file and soft-wrap it to 40 characters. \ No newline at end of file +* The program should also work with Unicode text. You can find a unicode story in [story.txt](story.txt) file in the current folder. Please use the text in the file and soft-wrap it to 40 characters. + +* The program should not cut the words, and should put the whole words on the next line.