I've made a Haiku Generating Program... on the lines of PhraseOMatic example in Head first
Java 2nd Edition (pg 16).
Problem: I need to have a line break after each of the 3 lines instead of all 3 in one line. I need something like:
Digital Haiku:
River flows singing
Like moth before burning flame
Over autumn red leaves
And I'm getting:
Digital Haiku: River flows singing Like moth before burning flame Over autumn red leaves.
Please help. What is the command to get line breaks in a program like this?
Here is the code I've written so far:
[edited to add code tags]