[Solved] Why will my basic calculator not process after String input [duplicate]


You can’t compare strings with == you need to use operator.equals()

For example instead of operator == "Subtract" use "Subtract".equals(operator)

7

solved Why will my basic calculator not process after String input [duplicate]