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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started