Question: PLEASE USE PYTHON AND REPLACE COMMENTS WITH ACTUAL LINES OF CODE!! ## # Use a function to read a floating point value from the user.

PLEASE USE PYTHON AND REPLACE COMMENTS WITH ACTUAL LINES OF CODE!!

## # Use a function to read a floating point value from the user. #

def main() : salary = readFloat("pleaes enter your salary:") percentageRaise = readFloat("What percentage raise would you like?") print("The salary is", salary) print("The raise percentage is", percentageRaise)

## Read a floating point number from the user. # @param prompt the promtp to display for the user # @return the number entered by the user as a floating point value # def readFloat(prompt) : # replace this line

# Call the main function. main()

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!