Case statement
These statements are used to check conditions as cases, break statements are used to come out of the loop whenever the condition is satisfied/met.
Syntax - :
![](https://assets.janbasktraining.com/community/uploads/e306e8bee868451d3b98d7d8bbdb850a.png)