Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Re: Program should display number of positives\negatives\total\average

    Try debugging the code by adding some println statements that print out the value of n each time its value is changed and each time its value is tested. You need to see what the code you have...
  2. Re: Program should display number of positives\negatives\total\average

    The while loop is controlled by the value of n. Once inside the loop the only way to exit the loop is to change the value of n.
    Look at the code in the loop. Is the value of n changed inside the...
  3. Re: Program should display number of positives\negatives\total\average

    What does the program do? You have not explained what "won't work" means.
    What do you want to change about the way it works?

    Try playing computer with the code. Look at the order that the...
  4. Re: Program should display number of positives\negatives\total\average

    Please explain what "NOT working" means.
    Does the program print out too many times, instead of printing one time at the end?
Results 1 to 4 of 4