Compilation error

sir , I have submitted the code of this question but this code fails if a>b but c>a . Because if a>b then the compiler enters in the if statement and then as a!>c it will come out and then else if and else statement will not work.
So please add a test case in this question in which a>b but a<c.

hi @bhardwajabhinav029_e412d6fe10a69607,
you wrote C instead of c (small)

here’s the updated commented code https://ide.codingblocks.com/s/662069

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.