C++ [Error] jump to case label [-fpermissive]

When doing the program practice, suddenly report an error.
The error screenshot is as follows:


 
The solution is as follows:
Just put parentheses around the end of the case.

 
 
 

Read More: