Question: Write a Python program using if statements that will display a menu of a 5-function calculator as follows: + to add two numbers to

Write a Python program using if statements that will display a menu of a 5-function calculator as follows: + 

Write a Python program using if statements that will display a menu of a 5-function calculator as follows: + to add two numbers to subtract two numbers to multiply two numbers / to divide two numbers ** to find the exponent of two numbers Prompt the user to enter two integer numbers and choose a function from the menu to perform. Calculate and display the result.

Step by Step Solution

3.49 Rating (156 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Solution 5function calculator using if statements Display menu printCalculator menu print to add t... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!