- Feb 3, 2023
- Reaction score
I am very new to c++ and have been working on a simple four function calculator. To choose an operation, you type a number (1 through 4) and hit enter. I used if and else if statements to process what operation has been selected, but it always acts like I pressed 1. It might be my compiler, but I don't know. I have attached a text file containing the code that I used. Any feedback would be appreciated. Thanks!