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

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 13:30
Me ! evelyn is a manager in a retail unit. she wants to prepare a report on the projected profit for the next year. which function can she use? a. pmt b. round c. division d. what-if analysis
Answers: 2
question
Computers and Technology, 24.06.2019 00:40
What is the error in the following pseudocode? module main() call raisetopower(2, 1.5) end module module raisetopower(real value, integer power) declare real result set result = value^power display result end module
Answers: 1
question
Computers and Technology, 24.06.2019 13:30
Write a program that uses a two-dimensional array to store the highest and lowest temperatures for each month of the year. the program should output the average high, average low, and the highest and lowest temper- atures for the year. your program must consist of the following functions: a. function getdata: this function reads and stores data in the two- dimensional array. b. function averagehigh: this function calculates and returns the average high temperature for the year. c. function averagelow: this function calculates and returns the aver- age low temperature for the year. d. function indexhightemp: this function returns the index of the highest high temperature in the array. e. function indexlowtemp: this function retur
Answers: 3
question
Computers and Technology, 24.06.2019 19:00
Luis is cloud-based( microsoft bot framework). true false
Answers: 1
You know the right answer?
I need your help with the following homework assignment:

Using the Prelude to Programmi...
Questions
question
Mathematics, 31.08.2020 17:01
question
Mathematics, 31.08.2020 17:01
question
Biology, 31.08.2020 17:01
question
History, 31.08.2020 17:01
question
Mathematics, 31.08.2020 17:01
Questions on the website: 13722362