Question: write a python program Write a program that performs the function of a simple integer calculator. This program should ask the user for an operation
write a python program
Write a program that performs the function of a simple integer calculator. This program should ask the user for an operation (including the functionality for at least addition, subtraction, multiplication, and long division) and after the user has selected a valid operation, ask the user for the two operands (i.e., the integers used in the operation). If the user enters an invalid operation, the program should print out a message telling them so
Sample Outputs (user input highlighted) (A)ddition (S)ubtraction (M)ultiplication (D)ivision (Long)
Please select an operation from the list above: Vaporize This program does not support the operation "Vaporize".
Please select an operation from the list above: M Please provide the 1st integer: 3
Please provide the 2nd integer: 5 3 * 5 = 15 (
A)ddition (S)ubtraction (M)ultiplication (D)ivision (Long) Please select an operation from the list above:
D Please provide the 1st integer: 16
Please provide the 2nd integer: 3
16 / 3 = 5 with remainder 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
