Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 780 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 780 Bytes

Object-Oriented Calculator

This calculator project is implemented using the principles of Object-Oriented Programming (OOP) in C++. It consists of two base classes: SimpleCalculator and ScientificCalculator.

Features

Simple Calculator

  • Addition, subtraction, multiplication, and division of two numbers.
  • Basic arithmetic operations.

Scientific Calculator

  • Trigonometric functions: sine, cosine, tangent.
  • Exponential and logarithmic functions.
  • Square root and power functions.

Usage

To use the calculator:

  1. Clone this repository to your local machine.
  2. Compile the source code using a C++ compiler.
  3. Run the executable file generated.
  4. Choose between the Simple Calculator and Scientific Calculator options.
  5. Perform calculations as needed.