0

why the switch code is not work by prompt. any one can solve that?

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

13th May 2019, 6:54 PM
Jahed hossen
Jahed hossen - avatar
4 Answers
+ 2
It's because the Prompt reads a string, but you are using in the switch numbers. Please look at the code. Hope it helps you. https://code.sololearn.com/W5sEgkj6cWUj/?ref=app
13th May 2019, 7:08 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
+ 1
thank you
13th May 2019, 7:16 PM
Jahed hossen
Jahed hossen - avatar
+ 1
Jahed hossen , you are welcome 😉
13th May 2019, 7:17 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar