Unable to find error in code

Hi Sir/Ma’am,
I am getting this error while i am running the in coding blocks ide -
“runguard: warning: timelimit exceeded (wall time): aborting command
runguard: warning: command terminated with signal 15”

  • I am unable to understand the error. What is it trying to convey?

  • Secondly , when i run the code in sublime text it is not terminating when the value inputted for ‘ch’ is ‘x’ or ‘X’ although i have given the required conditions in the while statement.

Please have a look at my code - https://ide.codingblocks.com/s/653793

Thanks

Link to my code - https://ide.codingblocks.com/s/653793

this is because your while condition is not correct
you have to use and(&&) instead of or(||)

this implies that code takes more time to execute the code
and timelimit is exceeded to run your code this happens because your loop is never ending due to wrong condition of while loop

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.