📝 Description
The Calculator is not handling operator button inputs correctly. After entering a number and pressing an operator such as +, the calculator behaves unexpectedly instead of continuing the calculation flow properly.
🔄 Steps to Reproduce
- Open the Calculator.
- Enter a number (example: 8).
- Press an operator button such as +, -, ×, or /.
- Observe incorrect calculator behavior.
🎯 Expected Behavior
- The calculator should correctly display and process the selected operator.
- Users should be able to continue entering the next number for calculation.
❌ Actual Behavior / Error Logs
- Calculator resets or behaves unexpectedly after pressing an operator button.
- Expression handling appears broken.
💻 Environment
- OS: [e.g. Windows 11, macOS]
- Browser: [Google Chrome]
- Project: [Calculator]
📝 Description
The Calculator is not handling operator button inputs correctly. After entering a number and pressing an operator such as +, the calculator behaves unexpectedly instead of continuing the calculation flow properly.
🔄 Steps to Reproduce
🎯 Expected Behavior
❌ Actual Behavior / Error Logs
💻 Environment