this my code so as per the constrains we did not have to take -ve numbers as input I cannot understand why the test cases are failing the first test case shows compiler message whereas the second shows wrong answer
Faliure of test cases in temperature question
Your output must match exactly with the sample output given in the question. So line 7 and 9 of your code is not required.
Refer this:
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.