0
What is the wrong in this code?
3 Answers
+ 4
It works.
Do you mean it isn't meeting all the green ticks?
You don't have a capital "L" in "lose" but you have capitals for all your other print statements.
Pay close attention to such details and see what happens.
----edit---
I just checked the task. You need "Loss". Read the instructions carefully again.
+ 1
I don't think you read the instructions carefully enough.
I changed your line to:
System.out.println("Loss");
and all 5 cases are correct.
0
Thanks alot
But there is still test case 3 and 4 not correct