+ 5
Code coach question
Hi, I am trying to solve the code coach problem for java the switch case example. I cannot pass all the tests even though my answer outputs the correct answer. In my code I have......... Case 4: System.out.println("You are suprised"); break; default: System.out.println("I don't know that emotion."); } Does not work even though the output is correct to the code coach as well. Please fix this.
8 Respostas
+ 6
'suprised'? 🤔
+ 5
Edited my question. That's not where I am getting stuck. I believe this is a bug
+ 5
Did not expect such a fast reply!! Still editing my question😊
+ 5
Legend! Great job. Still getting stuck of test case 5 for some reason. Thanks.
+ 5
Thanks. Typo error!!
+ 4
J 12323123 HonFu Bug found!
The test case uses curly apostrophe:
👉 ’ 👈 instead of the common 👉 ' 👈
Copy-paste is the solution.
https://en.m.wikipedia.org/wiki/Apostrophe
+ 3
Okay, was worth a try. 😅
+ 2
Welcome.
About test case 5:
Read the challenge description again and you'll get surprised!