Search:

Type: Posts; User: Norm

Search: Search took 0.30 seconds.

  1. Replies
    10
    Views
    1,973

    Re: Not sure what is wrong

    Ok. See you later.
    When you do look at the code, look for where you need a loop to ask the user for the next input and to test that input to determine whether to continue the loop to get more data...
  2. Replies
    10
    Views
    1,973

    Re: Not sure what is wrong

    What you posted will not compile. It is missing the import statements and the class definition.

    Also when you post code put the code inside of code tags.
    See:...
  3. Replies
    10
    Views
    1,973

    Re: Not sure what is wrong

    Time to play computer and manually step through your code, do what the computer would do for each statement recording the results on a piece of paper.

    Can you post your current code. The original...
  4. Replies
    10
    Views
    1,973

    Re: Not sure what is wrong

    Is the variable average in scope where you are trying to use it?
    The scope of a variable's definition is within the enclosing pair of {}s. If you define a variable inside of a pair of {}s it is not...
  5. Replies
    10
    Views
    1,973

    Re: Not sure what is wrong

    When you get errors, please copy and paste the full text here. If we had the error message we could tell you what is wrong.
Results 1 to 5 of 5