Average Hints (While Loop)

  1. The program must "remember" three items (implying a need for three variables)
    1. The current score just entered by the user
    2. The count of how many scores have been entered
    3. The current sum or total of all of the scores entered so far
  2. When using a while loop, the test variable must be initialized before entering the loop; therefore
    1. You must prompt twice: before the loop and inside the loop
    2. You must read the input twice: before the loop and inside the loop
  3. You must increment the count inside the while loop
  4. You must add the current score to the sum inside the while loop
  5. Print the average score following the loop (be careful of integer division)