/Scientific_Calculator_CPlusPlus

🧮🔢 A Scientific Calculator program that performs a variety of mathematical operations with a user-friendly menu interface, offering options from basic arithmetic to advanced functions, running in a loop until the user decides to quit.

Primary LanguageC++

🧮 Scientific Calculator using C++

🚀 Overview

The Scientific Calculator is a C++ project that provides a wide range of mathematical operations, including basic arithmetic, trigonometric functions, exponentiation, and more.

✨ Features

  • Basic Arithmetic: Addition, subtraction, multiplication, and division.
  • Exponentiation: Raise a number to a power.
  • Trigonometric Functions: Sine, cosine, tangent.
  • Square Root: Calculate the square root of a number.
  • Logarithm: Calculate the logarithm of a number.

⚙️ How to Use

  1. Run the calculator application.
  2. Choose the desired operation from the menu by entering the corresponding number.
  3. Follow the on-screen prompts to input the required values.
  4. View the result of the operation.

🛠️ How to Compile and Run

  1. Compile the C++ source file using a C++ compiler (e.g., g++) with the following command:
    g++ -o calculator src/calculator.cpp
  2. Run the compiled executable using the following command:
    ./calculator

📋 Operations

Follow the on-screen prompts to perform the following operations:

  1. Addition
  2. Subtraction
  3. Multiplication
  4. Division
  5. Exponentiation
  6. Sine
  7. Cosine
  8. Tangent
  9. Square Root
  10. Logarithm
  11. Ceiling
  12. Floor
  13. Absolute Value
  14. Round

📂 Directory Structure

  • src/: Contains the source code files.
  • bin/: Stores compiled executable files.
  • build/: Contains build files (object files, etc.).

🚀 About Me

I'm a passionate C++ developer, continuously learning and exploring new technologies.

Authors