I understood logic but my code not giving correct output


please help

@harryson
I have made some changes in your code. You were assigning the value INT_MAX to op1,op2,op3 and then comparing them. I have corrected the order of the same. If you still have any doubt comment and also write the name of the ques as this doubt was raised against the video.

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.