It’s my calculator for two operands
1 Like
Think about how you want to handle and 0.1 + 0.2 to get 0.3
Also, try to make your calculator more robust so that it does not allow multiple decimal points to be entered (i.e. 0…3…5 + 0.3…4).
Also, one of the user stories for the calculator is that you must allow multiple consecutive operations like 3 + 5 + 8 - 10 * 5 / 3 =
Allowing only two operands does not satisfy the requirements for the project. See below for the user story
User Story: I can keep chaining mathematical operations together until I hit the equal button, and the calculator will tell me the correct output.
1 Like
of course, i will try to fix it