Hand Calculator

Project A

Your task is to write a program that functions as a calculator. The program works as follows:

The user enters two integer numbers. If the second number is greater than or equal to the first then the two numbers are added. If the first is greater then the second is subtracted from the first.

Project B

Revise the above so that after the two numbers have been entered, the user enters a letter

A, S, M, or D and depending on the letter the program adds, subtracts, multiplies, or divides the first number by [to] the second.

Project C

Make A and B work with floating point.

In all cases, the program should provide apptopriate prompts.