0

Help me detect the error in switch case statement?

https://code.sololearn.com/czcE7rp2UKbK/?ref=app

8th May 2020, 5:08 PM
Basudev paul
Basudev paul - avatar
6 Respuestas
+ 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
8th May 2020, 5:20 PM
Abhay
Abhay - avatar
8th May 2020, 5:21 PM
BroFar
BroFar - avatar