Time limit exceeding on basic calculator

I am trying to submit the code but time limit is exceeding
here is the code:https://ide.geeksforgeeks.org/i1uNgemV74

Actually my code was not working on cb ide that’s why i shared another ide link

ok @gods_eye wait some time i will look

@gods_eye removed the if loop because what if op other than those 5 appears your code print nothing


dont forget to mark resolved and hit like if cleared :smiley:

1 Like