TLE in my code of basic calculator


It’s showing TLE

Please update my code & add comments what’s wrong.

hello @lckyb27
in ur whille loop ,u should use && in place of || .

check ur updated code here -> https://ide.codingblocks.com/s/256269

1 Like

@aman212yadav Thanks !! It’s working.