0
Help me detect the error in switch case statement?
2 Answers
+ 2
You don't need break statement for if ,it will work same without it and it will throw error anyway,also you are assigning not comparing(==)
Also last closing Curly brace missing
+ 2
Basudev paul here is your code with errors identified...
https://code.sololearn.com/cEpB1lzKFxeZ/?ref=app
https://code.sololearn.com/craMuS3Ivpuc/?ref=app