Simple calculator

Question https://online.codingblocks.com/app/player/198842/content/183689/4806/code-challenge
Code
https://ide.codingblocks.com/s/472862

this code is executing the correct output. It is printing infinitely times Inalid operation.
So, can you suggest what is wrong in this code

hello @nikhil.1104
check now-.

Hello @aman212yadav
Sir, the output is not correct.

ss

working fine on my side , pls clear ur cache and submit again

Yes sir Now its working on my side as well.
I did a mistake of reading numbers for all characters that’s why the loop was running infinitely.
I understood my mistake thanks a lot!

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.