-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Report
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Click "AC" to clear
- Click number "4" button
- Click multiplication "×" button
- Click number "5" button
- Click equals "=" button
- Display shows "9" instead of "20"
Expected behavior
The calculator app should return "20" when multiplying 4 by 5.
Pattern Analysis: It seems like the calculator might be adding instead of multiplying, but even that doesn't match (2+3=5 ✓, but 4+5=9 ✗).
Screenshots (if applicable)
N/A
Environment (please complete the following information):
- OS: [e.g. Ubuntu 22.04 / Windows 11 / macOS Ventura]
- Browser or Runtime: [e.g. Chrome, Node.js, Electron]
- App Version or Commit: [e.g. v1.2.3 or
commit abc1234]
Additional context
This appears to be a systematic issue with the multiplication functionality. Two test cases show incorrect results:
- 2 × 3 = 5 (should be 6)
- 4 × 5 = 9 (should be 20)
Both cases should result in correct multiplication operations, indicating a possible flaw in the multiplication logic.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working