Not able to see solution

I am writing a code and then only test cases are not passing and i am not able to see the solution

hi @Rrr
firstly do not print those cout statements… simply print the largest number.
secondly use if else, instead of all if statements…

corrected code -->


It’s working fine and should pass all test cases…

hi @Rrr
is it clear now???

yes sir it is now cleared

1 Like

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.