- 3
I have did the solution for this code but it is showing the test case 5 is wrong and that test case is a hidden one
Your robot can recognize your emotions marked with number that represents each of them: 1 - You are happy! 2 - You are sad! 3 - You are angry! 4 - You are surprised! Write a program that takes the emotion number as input and outputs the corresponding message in given format. If the input is an emotion that the program doesn’t know, it should output: "Unknown emotion.".
9 Respuestas
+ 4
Posting the same question multiple times will just piss off people.
+ 2
Please post your code attempt, so we can see where you make mistake and help you.
Reason why most people don't help you is because this kind of post look like you ask for someone to do your homework.
If you don't try and fail, you wont ever learn.
And you post same question multiply times, so we dont know did you get already answer.
If this is sololearn challange, also tag course name, and challange name or number, so we can check this challange to get more info about it.
+ 2
Sai Eshwar
First be patient.
Duplicate post will not get your answer solved any quicker. It will make people want to ignore you.
We need more info from you. So that we can better understand the issue.
So
What language is the code in?
What lesson number or practice is it?
Please provide a copy of your attempt so that we can see where you may have went wrong.
+ 1
On line 25 you have an extra space between "are surprised"
System.out.print("You are surprised!"); // Bad
System.out.print("You are surprised!"); // Good
Remove the extra space and it should solve the issue.
0
Yes but I am not getting the answer as sovled after trying multiple timed
0
This above one is my code which I have did and for this one it is showing the error for test case 5
0
And it is a java language
- 2
Yea get a paper and a pencil and a python reference manual from early 2000s and figure out python without spamming here.