subject

What is the result of this program fragment, if the original input values are -15 for hours and 10.0 for rate (when you meant to enter 15 and 10)? hours = int(input('Enter hours worked: ')) rate = float(input('Enter pay rate in dollars per hour: ')) while hours < 0 or rate < 0: print ('Error, both values must be positive numbers. Please reenter') pay = hours * rate print('Your gross pay is ', pay)

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 23:00
Explain briefly why you cannot expect to find a previous version of every file with which you work.
Answers: 1
question
Computers and Technology, 22.06.2019 17:30
Rachel completed typing an official document with a word processing program. she wants to make sure that her document has no typographical errors. she also wants all headings to have the same font. which features in a word processing program should she use? rachel should use the feature in a word processing program to find typographical errors. she should apply to have uniform headings.
Answers: 1
question
Computers and Technology, 22.06.2019 18:00
Which of the following physical laws can make the flow of water seem more realistic? a. motion b. gravity c. fluid dynamics d. thermodynamics
Answers: 2
question
Computers and Technology, 23.06.2019 09:00
Which company provides a crowdsourcing platform for corporate research and development? a: mtruk b: wiki answers c: mediawiki d: innocentive
Answers: 2
You know the right answer?
What is the result of this program fragment, if the original input values are -15 for hours and 10.0...
Questions
question
Mathematics, 26.08.2019 04:50
question
Biology, 26.08.2019 04:50
question
Mathematics, 26.08.2019 04:50
Questions on the website: 13722367