0
Why is it not working?
https://code.sololearn.com/c4sqhV7J17S7/?ref=app I've tried using switch statements but it's not working.
5 Antworten
+ 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".
+ 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
+ 1
Thanks!!😁
0
Works to me... Why you saying thats not works?
0
In code coach it is not working