This tutorial will show how to make a simple calculator program that asks the user for two numbers. After the computer receives two numbers, the program will prompt the user to add, subtract, multiply or divide the two numbers. the program will display the answer and prompt the user to repeat the program or quit.
Input validation is used within this program. Input validation is used to check to see if the user entered the data correctly.