diff --git a/src/TextOutput.java b/src/TextOutput.java index 468bc31..06f863b 100644 --- a/src/TextOutput.java +++ b/src/TextOutput.java @@ -64,9 +64,11 @@ public class TextOutput { System.out.print(" "); currentLength = word.length() + 1; } + else { + System.out.println(); + } } } - System.out.println(); } }