Code is running correct but 3 test cases failed please help me out

https://ide.codingblocks.com/s/50957
name of the problem is simple calculator

Hey Kunj, you are taking one input only, but according the problem you are supposed to use a while loop and take the input until you get a ‘X’ or ‘x’.