Question: this must be in python! 5.3 Write a function def readFloat(prompt) that displays the prompt string, followed by a space, reads a floating-point number in,
5.3 Write a function def readFloat(prompt) that displays the prompt string, followed by a space, reads a floating-point number in, and returns it. Here is a typical usage: salary = readFloat("Please enter your salary:") percentageRaise = readFloat("What percentage raise would you like?") 5.4 A laboratory container is shaped like the frustum of a cone: R2 RI Write functions to compute the volume and surface area, using these equations: v- ah (P + P + R, R3) S=* (R1 + R2) (R2 - R.)?+h? + +R
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
