Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 643 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 643 Bytes

Calculator

A simple calculator to perform basic mathematical operations.

Guidelines for the program is given below.

  • Ask the user to enter two numbers.
  • Display a message to enter operator symbol to perform mathematical operations.
  • Implemented for +,-,x,/ operators.
  • Apply first number operator second number in order to perform any operation.
  • when applying / and % , should check if second number is zero (0) and displays a warning message that operation can not be performed.
  • Once the result is printed ask the user if he wish to perform another operation.If yes,repeat above steps.Otherwise quit the program.