Calculator in C++
This is a simple command-line calculator program written in C++. It prompts the user to enter two numbers and an operator, then performs the corresponding operation on the numbers. The supported operations are addition, subtraction, multiplication, and division.
How to Use
Compile the program using a C++ compiler.
Run the compiled executable. Follow the prompts to enter two numbers and choose an operator. View the result displayed on the screen.
Supported Operators
Addition (+) Subtraction (-) Multiplication (*) Division (/)
Exiting the Calculator
To exit the calculator, input 'q' when prompted to enter an operator.
Example kotlin Copy code Enter two numbers: 10 5 Enter any operator (+, -, *, /) or 'q' to quit: + Sum is: 15 License This project is licensed under the MIT License. Feel free to modify and distribute it as needed.