Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need your help with the following homework assignment: Using the Prelude to Programming book, complete the following Programming Challenge problem on page 177 :

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 employees 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

---

Thank you for your time and effort

Taz

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

101 Database Exercises Text Workbook

Authors: McGraw-Hill

2nd Edition

0028007484, 978-0028007489

More Books

Students also viewed these Databases questions