Search:

Type: Posts; User: Bill_H

Search: Search took 0.19 seconds.

  1. Replies
    8
    Views
    2,508

    Re: Need help with loop

    No problem, glad I could help!
  2. Replies
    8
    Views
    2,508

    Re: Need help with loop

    Try defining them both right before the do while loop.


    boolean repeat = false; // A value is necessary
    char response

    Then remove the char in front of response within the loop.
  3. Replies
    8
    Views
    2,508

    Re: Need help with loop

    It's usually best to let someone learn on their own and just guide them than give them the answer, jeremykatz.

    But in response to your question, the only import you would need is for the Scanner...
  4. Replies
    8
    Views
    2,508

    Re: Need help with loop

    The easiest way I've found to loop a program is to use a do while loop around the entire thing. What you have is the original program, then a duplicate inside an if statement (which by the way needs...
Results 1 to 4 of 4