Skip to content

soumik-prime/calculator-project

Repository files navigation

Calculator Program

This is a comprehensive calculator program that supports arithmetic operations, trigonometric functions, matrix operations, and number conversions. The program is designed to handle multiple mathematical tasks interactively through a command-line interface.

Features

Arithmetic Operations:

  • Addition
  • Subtraction
  • Multiplication
  • Division
  • Power
  • Square Root
  • Factorial
  • Percentage Calculation

Trigonometric Functions:

  • Sine (sin)
  • Cosine (cos)
  • Tangent (tan)
  • Cosecant (cosec)
  • Secant (sec)
  • Cotangent (cot)
  • Inverse Sine (asin)
  • Inverse Cosine (acos)
  • Inverse Tangent (atan)

Matrix Operations:

  • Matrix Addition
  • Matrix Subtraction
  • Matrix Multiplication

Number Conversion:

  • Decimal to Binary
  • Decimal to Octal
  • Decimal to Hexadecimal
  • Binary to Decimal
  • Octal to Decimal
  • Hexadecimal to Decimal

Getting Started

To run the program, follow these steps:

  1. Clone the repository:

    git clone https://github.com/yourusername/Calculator-Project.git
  2. Navigate to the project directory:

    cd Calculator-Project
  3. Compile the program:

    g++ -o calculator main.cpp
  4. Run the program:

    ./calculator

About

As part of my first-year, first-semester project for the CSE-1111 (Fundamentals of Computer and Computing Lab) course, I developed a basic calculator using C++.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages