menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Register
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
Write a program to prompt the user for hours and rate per hour using input to compute gross pay. Pay the hourly rate for the hours up to 40 and 1.5 times the hourly rate for all hours worked above 40 hours.
asked
Aug 26, 2021
63.2k
views
0
votes
Write a program to prompt the user for hours and rate per hour using input to compute gross pay. Pay the hourly rate for the hours up to 40 and 1.5 times the hourly rate for all hours worked above 40 hours. Use 45 hours and a rate of 10.50 per hour to test the program (the pay should be 498.75). You should use input to read a string and float() to convert the string to a number. Do not worry about error checking the user input - assume the user types numbers properly.​
Computers and Technology
college
Belynda
asked
by
Belynda
3.9k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
6
votes
I've included my code in the picture below. Best of luck.
Starnetter
answered
Aug 30, 2021
by
Starnetter
4.5k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
4.6m
questions
6.0m
answers
Other Questions
Do you think social media should affect presidential elections
WHAT???? Pls help 20 points!!
1. Why is it important to compare features of a computer before making a purchase?
The _______ hybrid uses 144 to 158 volt batteries.
when the programmers embed a javascript code within html code they place the javascript code between​
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org