Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Calculator Application

{BC2424F7-96B9-4FE2-82CD-790849DE0842}

Overview

This is a simple console-based Calculator Application implemented in C++. It provides basic arithmetic operations such as addition, subtraction, multiplication, division, and modulo. The application is interactive, user-friendly, and allows repeated use without restarting the program.


Features

  1. Addition: Add multiple numbers.
  2. Subtraction: Subtract two numbers.
  3. Multiplication: Multiply multiple numbers.
  4. Division: Divide two numbers.
  5. Modulo: Find the remainder when dividing two numbers.
  6. Exit Option: Quit the application at any time.

How to Use

  1. Run the program.

  2. Follow the menu instructions displayed on the screen.

  3. Enter the corresponding character to select the desired operation:

    • Press A or a for Addition.
    • Press S or s for Subtraction.
    • Press M or m for Multiplication.
    • Press D or d for Division.
    • Press O or o for Modulo.
    • Press E or e to Exit.
  4. For operations that require multiple numbers (e.g., Addition, Multiplication), you can input numbers one by one. Select whether to add/multiply more numbers or proceed with the result.

  5. After completing an operation, you will be prompted to continue or exit.


Requirements

  • A C++ compiler (e.g., GCC, MSVC, etc.).
  • Any terminal or console to run the compiled executable.

Compilation and Execution

Compile the Program

-> g++ main.cpp -o main
-> main.exe

About

My first calculator project in C++

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages