Why is it not working? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why is it not working?

https://code.sololearn.com/c4sqhV7J17S7/?ref=app I've tried using switch statements but it's not working.

14th Jun 2020, 8:28 AM
👨‍💻👑
5 Answers
+ 1
You have two cin>> The first thing you write goes to the variable "text" If you write other thing, it'll go to the variable "i".
14th Jun 2020, 3:02 PM
Alexandre
Alexandre - avatar
+ 1
It is working, make sure you're giving it 2 inputs. You have it coded so that the switch is checking the value of the second input
14th Jun 2020, 8:40 AM
JME
+ 1
Thanks!!😁
14th Jun 2020, 7:14 PM
👨‍💻👑
0
Works to me... Why you saying thats not works?
14th Jun 2020, 8:39 AM
KrOW
KrOW - avatar
0
In code coach it is not working
14th Jun 2020, 9:07 AM
👨‍💻👑