Checkpoint 27.7.1.
This program is designed to find the highest value. It works correctly - you can watch it run in codelens to see step by step how it does its job.
Modify it to find the lowest value:
- Change the tracking variable’s name to
lowest
- Change the comparison used in the if. If the current score is lower than the
lowest
, we have found a new lowest value.