It would NOT be too high for the default. The message that would print there would tell you the problem the first time you ran the code.
Type: Posts; User: Norm
It would NOT be too high for the default. The message that would print there would tell you the problem the first time you ran the code.
A problem would be that you have no default: case in the switch statement to print out a message about the value of average. Your code should try to handle ALL the legal possibilities.