Code not working

My code is not working. Can’t able to find the bug,
code link - https://ide.codingblocks.com/s/212927

@pulkit_pandey09 you are reading the character and without checking it(weather its a valid char or nor you read two integers).First read the char then check the char if its valid operator then take two more input , if it is x, X terminate else write “Invalid operation. Try again.”
If this resolves your doubt mark it as resolved.