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, 22.06.2019 14:50
Drag each label to the correct location on the image list the do’s and don’ts of safeguarding your password. a. keep yourself logged in when you leave your computer.b. don’t write your password down and leave it where others can find it.c. share your password with your friends.d.each time you visit a website,retain the cookies on your computer.e. use a long password with mixed characters.1. do's 2. don'ts
Answers: 2
question
Computers and Technology, 22.06.2019 19:00
How is the number 110 written when expanded out to place values in the base 2 (binary) number system? options: 2 x 4 + 3 x 2 + 4 x 1 1 x 2 + 1 x 2 + 0 x 2 1 x 100 + 1 x 10 + 0 x 1 1 x 4 + 1 x 2 + 0 x 1
Answers: 1
question
Computers and Technology, 22.06.2019 22:30
Write a full class definition for a class named player , and containing the following members: a data member name of type string .a data member score of type int .a member function called setname that accepts a parameter and assigns it to name . the function returns no value.a member function called setscore that accepts a parameter and assigns it to score . the function returns no value.a member function called getname that accepts no parameters and returns the value of name .a member function called getscore that accepts no parameters and returns the value of score .this is what i have, aparently this is wrong: class player{private: string name; int score; public: void player: : setname (string n){name =n; }void player: : setscore (int s){score = s; }string player: : getname (){return name; }int player: : getscore (){return score; }};
Answers: 2
question
Computers and Technology, 23.06.2019 12:00
What type of slide show is a dynamic and eye-catching way to familiarize potential customers with what your company has to offer? a. ole b. photo album c. brochure d. office clipboard
Answers: 2
You know the right answer?
I need your help with the following homework assignment:

Using the Prelude to Programmi...
Questions
question
Mathematics, 20.03.2020 11:59
question
English, 20.03.2020 11:59
question
Mathematics, 20.03.2020 11:59
Questions on the website: 13722367