A simple console-based calculator application built in C++ that supports various mathematical operations including addition, subtraction, multiplication, division, modulus, exponentiation, and square root calculations. This project demonstrates basic C++ programming concepts such as loops, conditionals, and functions.
- Addition (+): Calculates the sum of two numbers.
- Subtraction (-): Computes the difference between two numbers.
- Multiplication (*): Multiplies two numbers.
- Division (/): Divides the first number by the second (with zero division check).
- Modulus (%): Finds the remainder when the first number is divided by the second.
- Exponentiation (^): Raises the first number to the power of the second.
- Square Root (√): Computes the square root of a number.
- Exit: Terminates the program.
- C++ Compiler: Ensure you have a C++ compiler installed (e.g., GCC, Clang).
- C++ Standard: C++11 or higher is recommended.
- Run the Application:
- Start the application by executing the compiled binary as shown above.
2 Select an Operation:
- You will be presented with a menu of operations. Enter the number corresponding to your desired operation.
- Input Numbers:
- Depending on the operation selected, enter the required numbers. For operations other than square root, provide two numbers. For square root, provide only one number.
- View Result:
- The application will display the result of the selected operation.
- Exit the Application:
- To exit, select the 8 option from the menu.
Feel free to contribute to this project by submitting issues or pull requests. If you have any suggestions for new features or improvements, please let me know!
Jordan Wood (Copyright 2024)
This program is provided under the copyright and license terms specified by Jordan Wood in 2024.