Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 499 Bytes

README.md

File metadata and controls

10 lines (7 loc) · 499 Bytes

Simple Calculator

This is a simple C++ program that functions as a basic calculator. It can perform addition, subtraction, multiplication, and division based on the operator and operands provided by the user.

How it works

  1. The program prompts the user to enter an operator (+, -, *, /).
  2. The program prompts the user to enter two operands.
  3. The program performs the calculation based on the operator and operands provided.
  4. The program outputs the result of the calculation.