Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CIS-265 Payroll Project Spring 2018 IJue Date: 2/02/2018 Write a C++ program to create a payroll report based on the following assumptions and requirements A

image text in transcribed

CIS-265 Payroll Project Spring 2018 IJue Date: 2/02/2018 Write a C++ program to create a payroll report based on the following assumptions and requirements A company called Data Housing Corp. employs several employees, all employees are paid on hourly base, any employee who works over than 40 hours is entitled to be paid overtir every hour exceeding 40) Calculate The Gross income: Gross income (Rate hours worked) + over time. 2 The Overtime: Overtime number of hours exceeding 40 Rate* 1.5 3. 4. 5. 6. Net 7. Total Gross for all employees. 8. Average Giross for all employees. State Tax: Federal Tax: Union fees: State Tax gross * 6% fed Tax-Gross * 12% Union fees-Gross * 2% Net Gross (state tax + fed tax Union fees). Directions: MUST USE: a) ARRAYS b) Typedef (for string data types) DO NOT USE functions Your input consists of Employee First Name, Middle Initial, Last name, Hours worked, Rate per Hour State tax, Fed tax and Union fees are constants. Youl FORMATTED Output includes all input information and all calculated information such as (gross, net. etc.) . Apply (whatever is applicable): L.oops, constants, data validation, if, else, switch, arrays, precision Document your program (add comments) .The output in the following format: Input validation (hours greater than 0 and less than 60, rate greater than 0 and less than50) The source code program and the output Data Housing Corp. Weekly Payroll Last name Rate per hour Hours worked Smith$10.99 First Name M Joe 40 Prof. Faisal Aljamal

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

Advances In Databases And Information Systems Second East European Symposium Adbis 98 Poznan Poland September 1998 Proceedings Lncs 1475

Authors: Witold Litwin ,Tadeusz Morzy ,Gottfried Vossen

1st Edition

3540649247, 978-3540649243

More Books

Students also viewed these Databases questions