Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Real Time Database Systems Architecture And Techniques

Authors: Kam-Yiu Lam ,Tei-Wei Kuo

1st Edition

1475784023, 978-1475784022

More Books

Students also viewed these Databases questions

Question

Problem: Evaluate the integral: I = 1- 1 dx 9

Answered: 1 week ago

Question

Describe the Indian constitution and political system.

Answered: 1 week ago

Question

Explain in detail the developing and developed economy of India

Answered: 1 week ago

Question

Problem: Evaluate the integral: I = X 52+7 - 1)(x+2) dx

Answered: 1 week ago