Maximum Score Hints (While Loop)

  1. The program must "remember" two items (implying a need for two variables)
    1. The current score just entered by the user
    2. The largest or maximum score entered 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. An if statement is required to compare the currently entered score to the current maximum score
  4. Print the maximum score following the loop