Instead of attempting to use the max() function, which we haven't talked about in class, I expect students to use an accumulator loop where you:
1) before the loop, assign a "maxSoFar" variable to be an extremely low value to start with (that is lower than any possible value the user might enter)
2) in the loop, keep checking whether the number just entered by the user is greater than the maxSoFar variable, and if it is, then update the maxSoFar variable.
See the pinball wizard example from class, which is posted on Moodle. It looks like Nhi was kind enough to post a direct link to it. It might also be helpful to review the slides from Friday, which are also posted on Moodle.