Search:

Type: Posts; User: Norm

Search: Search took 0.10 seconds.

  1. Re: Program works, just not how i thought/wanted it would/to work.

    Must be a good editor.
  2. Re: Program works, just not how i thought/wanted it would/to work.

    You can write it anyway you want, but if you want the Strings on different lines, there needs to be a new line character between the lines. Your choice.


    Maybe the author or editor made a...
  3. Re: Program works, just not how i thought/wanted it would/to work.

    What is wrong with using the "\n" character?
  4. Re: Program works, just not how i thought/wanted it would/to work.

    Please explain the problem. I thought the program printed everything on one line and you want the output to go to multiple lines.

    Post the program's current output, explain what is wrong with it...
  5. Re: Program works, just not how i thought/wanted it would/to work.

    To move the next String that is written to a new line, add a "\n" character where you want the end of the current line to be.

    Or use a method like println() that automatically adds the "\n".
  6. Re: Program works, just not how i thought/wanted it would/to work.

    To put what's printed next on the next line,
    either use the println() method
    or include a "\n" character where you want the end of line to be.
Results 1 to 6 of 6