Whats wrong with my code test case is not passed i guess my logic is correct
Hey Anant,
- In while condition there should be OR and not AND.
- First check whether c is valid (*,/,+,-) only then input n1 and n2. (you are taking n1 and n2 and then checking)
can you edit the code and make it work please as i am unable to pass cases now also
see it works now, AND condition was correct!