0
Switch is stuck
When I get to the third test case on the switch problem, 8 is input, my solution and Sololearns are the same but it wonโt go on to the next test case. It also appears the check mark has turned to green in the background. Any fixes? https://code.sololearn.com/chZS9Q96x97q/?ref=app
8 Answers
+ 3
Miles425
Check spelling of "surprised"
0
Miles425 , can you post the whole description of the task?
0
Is your spellings are correct according to task description? Do check again..
0
Code Coach Problem โEmotion Detectorโat end of default lesson(The switch Statement 15.1). Four cases are given and then default. The first two cases come up correct but the third cases asks to check answer; my answer and Sololearns agree as does the solution (as far as I can tell). Yes, I have checked syntax, spelling, parsing, and anything else I can think of.
0
I think it should work. Try again...
Else
Check with this:
System.out.print("Unknown emotion.");
0
Thank you. Good lesson in being exact for beginner!
0
Is it solved? Just curious..
May I know what fixed there?
0
Jayakrishna Yes itโs fixed. It was the spelling of surprised, which I kept overlooking even after being told to check. Confused me why it mattered at first because it came after the correct choice had executed. Thanks, again.
Hot today
What is the problem ๐คจ๐ง??
2 Votes
Generador de divicion python.
1 Votes
Broken Image in Sololearn App
0 Votes