subject

I need your help with the following homework assignment:

Using the Prelude to Programming book, complete the following Programming Challenge problem on page 177 :

* Programming Challenge 3:

The owners of the Super Supermarket would like to have a program that computes the monthly gross pay of their employees as well as the employee’s net pay. The input for this program is an employee ID number, hourly rate of pay, and number of regular and overtime hours worked. Gross pay is the sum of the wages earned from regular hours and overtime hours; overtime is paid at 1.5 times the regular rate. Net pay is gross pay minus deductions. Assume that deductions are taken for tax withholding (30 percent of gross pay) and parking ($10 per month). You will need the following

variables:

EmployeeID HourlyRate RegHours OvertimeHours
GrossPay Tax Parking NetPay
formulas:
GrossPay = (RegularHours * HourlyRate) +
(OvertimeHours * (HourlyRate * 1.5))
NetPay = GrossPay – (GrossPay * Tax) – Parking
The Programming Challenge problem can be solved by a program that performs three basic tasks---Input Data, Process Data, and Output Results.

Documentation is very important. Both header comments and step comments are encouraged as it will help for logic to be better. Header comments should include the following:

- Name of the Raptor program

- Author of the Raptor program

- Version of the Raptor program and the date of its last revision

- Summary/goal of the Raptor program

- Variables used with a short description of the variable, as well as the format of the data (e. g. datatype)

Use Raptor to answer each of the problems in this assignment

---

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 02:30, jaueuxsn
Which component acts as a platform on which application software runs
Answers: 2
image
Computers and Technology, 23.06.2019 20:00, emmaraeschool
Me ajude por favor , coloquei uma senha e não consigo tira-la no chorme
Answers: 2
image
Computers and Technology, 25.06.2019 04:30, babas97
What is the purpose of network permissions? a)to control access to network resources b)to convert to wireless networking c)to enable the installation of nics d)to reduce operating costs
Answers: 1
image
Computers and Technology, 25.06.2019 10:00, alexandroperez13
One way news orginaztions can influence people is by: a. slanting information b. accepting all beliefs c. sharing a true perspective d. giving people money
Answers: 1
You know the right answer?
I need your help with the following homework assignment:

Using the Prelude to Programmi...

Questions in other subjects:

Konu
Chemistry, 07.10.2019 00:00
Konu
English, 07.10.2019 00:00