Search:

Type: Posts; User: Norm

Search: Search took 0.15 seconds.

  1. Replies
    5
    Views
    2,378

    Re: Reading until a Blank Line. File input.

    The nextLine() method should return an empty String when the empty line is read.
  2. Replies
    5
    Views
    2,378

    Re: Reading until a Blank Line. File input.

    There are 4 extra calls to nextDouble() in the if() that tested if the input had ONE MORE input.

    Some of the calls to nextDouble() replace the values in variables that were read by an earlier...
  3. Replies
    5
    Views
    2,378

    Re: Reading until a Blank Line. File input.

    Can you post the code you are asking questions about?
Results 1 to 3 of 3