Search:

Type: Posts; User: snowguy13

Search: Search took 0.10 seconds.

  1. Replies
    11
    Views
    1,631

    Re: What's Wrong With My Code?

    Can you give me examples of your input, and then what output you get? I'm kinda in the dark as to what the exact problem is...

    Also, I suggest instead of using the for-loop you have to check for...
  2. Replies
    11
    Views
    1,631

    Re: What's Wrong With My Code?

    The syntax of else if statements is else if(condition), not if else(condition). :P
  3. Replies
    11
    Views
    1,631

    Re: What's Wrong With My Code?

    Here's your problem! You're checking to see if the Scanner equals "q" which will never be true. Instead of the Scanner's value, you should see if the String variableName has a value of "q". Maybe...
  4. Replies
    11
    Views
    1,631

    Re: What's Wrong With My Code?

    First of all, I suggest using if-else-if statements instead of a bunch of if-statements like you are currently doing. This makes your program more easy to follow and lessens the work that a computer...
Results 1 to 4 of 4