I have been presented with the following practice question on a c++ course I'm taking. I have no access to the teacher so I do not know who to turn to

The exercise says:

2.7: Ocean Levels
...