Basic Concept Regarding Switch Case

The code :- https://ide.codingblocks.com/s/409406
Please the tell the error in this code, implementing simple calculator using switch case but it is not working.

Hello @Sakshi2004 check this:


if you have any doubt you can ask here:
Happy Learning!!

Hey, you did’nt explain the reason why the lines are being commented because if we are doing something else where we need to store the variable and then further use it in calculations then how we will do so?

@Sakshi2004
check your chat.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.