Computer Science
Make an algorithm for a program that will obtain from the user an hourly pay rate and the number of hours worked for the week.
The program will then calculate and output their pay according to the following:
- Regular pay is the pay up to 40 hours.
- Overtime pay is pay for the hours over 40. Overtime is paid at a rate of 1.5 times the hourly pay rate.
- Gross pay is the sum of the regular pay and the overtime pay.Test your algorithm using the following 2 cases:
hourly pay rate $10.50, number of hours 20 (pay for the week $210.00) hourly pay rate $10.00, number of hours 45 (pay for the week $475.00)Due in 1 hour
9 years ago 3
Answer(0)
Bids(0)
other Questions(10)
- for roel
- ARMA INC
- Migration and Immigration
- We are working on coca cola vitamin water and I need my part of the Team Assignment answered the only two question I need to know is · Factors affecting variable costs, including productivity and others that change the supply of and demand for lab
- 1.Selenium (Se) is a nonmetal, germanium (Ge) is a metalloid, and silver (Ag) is a metal. Which of the following...
- Professor Kern
- Determine the car payment and mortgage payment with the following conditions: your monthly household income, 10 percent for the car payment, and 28 percent for the mortgage payment. Also, assume a 10 percent down payment on the car and a 3 percent
- Organization
- Psy 250 Biological and Humanistic Approaches
- excel