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
Get step-by-step solutions from verified subject matter experts
