Basic calculator problem is not working in java
@naman19179,
I have corrected your code https://ide.codingblocks.com/s/164887.
Mistakes:
- Using string instead of char.
- Put scanner class outside the while(true)
@naman19179,
I have corrected your code https://ide.codingblocks.com/s/164887.
Mistakes: