Unable to get the result of calc

hello @rizvibilal10

dont use break for invalid operations.

i didnt get sir.
I checked the characters like +,-,etc.

image
dont use this break statement


Sir this the error I am getting I have removed the break statement.

use single quotes in place of double quotes for x and X
i,e ch==‘x’ or ch==‘X’

make similar chnages for all other char as well


Sir this is my updated code still I am unable to pass the test cases.

u need to print Invalid operatiion try again (check output format)

ur code->


My code is compiled and running on sublime but on cb ide and submit window it is not compiling.
runguard: warning: timelimit exceeded (wall time): aborting command
runguard: warning: command terminated with signal 15
This is I am getting

try again,in my machine it is working

u r not giving any input thats why u r getting this error

Yes sir tried but unable to compile
Getting this:
runguard: warning: timelimit exceeded (wall time): aborting command
runguard: warning: command terminated with signal 15

give some input … …

or directly press submit button

Ok done sir,Thankyou for helping me in my silly doubts :slight_smile:


Sir help in armstrong also, iam able to run it on sublime but not able to submit
I checked 153 and getting it

bro pls create a separate thread by raising a diffent doubt.

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.