Search:

Type: Posts; User: curmudgeon

Search: Search took 0.23 seconds.

  1. Replies
    5
    Views
    1,248

    [SOLVED] Re: Need help with loop

    You can't and even if you could, why would you want to? All you want to do is add 1 to a counter variable
  2. Replies
    5
    Views
    1,248

    [SOLVED] Re: Need help with loop

    Yep exactly, what's on line 26 of program05.java?

    this:


    int yesVotes = Integer.parseInt (reply);

    What's the error telling you?
    this:
  3. Replies
    5
    Views
    1,248

    [SOLVED] Re: Need help with loop

    The exception message should tell you exactly what the problem is. Please post it in its entirety.

    Hint: think about exactly what you're trying to parse into an int.

    Also, please have a look at...
Results 1 to 3 of 3