Format Lines
V 0.1.1
A program made to format a long line into multiple lines of a defined length with punctuation in mind.
The program requires:
The size of each line
The line itself
2. Enter the line.
Example:
Enter the size of each line: 20
Enter Line: Once my mother told me to go eat dinner. I was reluctant to eat the food that she had made because I didn't like vegetables. So, I went to my kitchen and found a box cereal. I ate all the different colored cereal except one: Blue.
Output:
Once my mother told
me to go eat dinner.
I was reluctant to
eat the food that
she had made because
I didn't like
vegetables. So, I
went to my kitchen
and found a box
cereal. I ate all
the different
colored cereal
except one: Blue.
---Completed Task---