So i am trying to build this simple calculator that tells you if you have entered a wrong operator and that asks you if you want to do another calculation after completing the first. Everything works fine except for that when i want to do a subtraction for example the calculator thinks i want to do a multiplication
This is what happens:
Chose one(+,-,/,*):-
Enter the fist number:5
Enter the second number:3
The answer is:15.00
For a new calculation enter 1, to exit enter 2: