Question: Write a program that will: Use the input function to prompt the user to enter a floating point (real) number and store that number into

Write a program that will:

Use the input function to prompt the user to enter a floating point (real) number and store that number into a variable. You will have to use the float function to convert the number the user enters into an actual floating point number.

Use the input function to prompt the user to enter a second floating point (real) number and store that number into a variable. You will have to use the float function to convert the number the user enters into an actual floating point number.

Divide the first number entered by the second number entered and store the result into another variable.

Use the print method to print the variable that holds the result, printed with 2 places to the right of the decimal point.

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!