Only able to clear first 2 test cases


link to the code

Your output format for invalid operation is incorrect.

https://ide.codingblocks.com/s/223723 sir still not able to clear the cases and it is showing error ‘;’ expected before return

The code provided in link is working fine, but output format at line 40 is still wrong.

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.