+ 2
Whats wrong with my code
8 Answers
+ 4
You're missing a "!" in surprised!
Check my previous answer again
+ 3
surprised!
+ 2
Ananya Singh Check your outputs what actually you have to print in your commented code you have written this in 4th step
after surprised their is exclamation mark but when u using print statement their is missing so once check it
/*
1 - "You are happy!"
2 - "You are sad!"
3 - "You are angry!"
4 - "You are surprised!"
other - "Unknown emotion."
*/
+ 1
Ananya Singh, your code appears to work correctly so what is the problem?
+ 1
Your code is working properly without any errors may be you not entering your input value at run time .
+ 1
Then in 15.2 it says my fifth case is still wrong
Sorry for late answering Simba ,David Akhihiero ,A.S. , Kiran Deep Naidu
0
Ananya Singh What's wrong with your code?
0
Hey, idk when mods arrive here, but in my opinion it's a good practice to atleast show what was original task, your expectations, and how it's different, it narrows down the amount of vagueness that the answers will carry. All this ensures that you get right answers to the point.