Switch case not taught

why are you using switch case if you have not taught us the switch case i am not able to get what i have to do in this question kindly explain

hi @Madhavendra-Gupta-2240591552663161 switch case is just like the if else case only.
the implementation is just like if-else. you can just understand the syntax you will be able to understand the switch case. There is nothing to worry you can do the same question by if-else also