Question: Write a Python program that will prompt the user for three integers and display A. the integers, B. their sum, C. their product, D. the

Write a Python program that will prompt the user for three integers and display

A. the integers,

B. their sum,

C. their product,

D. the sum raised to the power of the first integer (use operator **)

E. the sum divided by the second integer (use operator / )

F. The sum divided by the third integer (use operator // ) NOTE: // may be referred to as integer division in the literature

G. The remainder of the division of sum by the first integer (use operator % )

H, maximum using the max function

I . minimum using the min function

J. average of the three integers NOTE: use you answer from b (sum) do NOT add the numbers again

Assume the user does not use decimals and the integers is NOT zero

Using the below template:

Write a Python program that will prompt the user for three integers

File Edit View Naig Code Help Project * r | ia programo (6).py | program0 (6).py > li External Libraries #Constants c1 = 2 c2 = 3 c3 =-5 # input statements xint (input (Please enter integer ...")) y = int (input(" Please enter another integer ")) z = int (input (" Please enter the third integer ")) 10 print ("the numbers entered are ", x," and", y, " and ", z) s=x+y+z m = max (x, y, z) # MAX function similar function f r min 12 13 14 15 16 17 18 19 20 21 print ("values are SUM-", 3, " product -", p," maximum -",m) this is a mment #the following if else structure is used to illustrate the syntax note the identation if (x> 0): 23 24 25 26 27 28 29 else: y = C3*y print ("NEW value of x = ", x, " and ", " y ", y)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!