Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite0
Help me detect the error in switch case statement?
2 Réponses
+ 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