Question: Write a java or C + + program to create a payroll report based on the following assumptions and requirements:A company called Data Housing Corp.
Write a java or 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 hours is entitled to be paid overtime for every hour exceeding Calculate: The Gross income: Gross income Rate hours worked over time The Overtime: Overtime number of hours exceeding Rate State Tax: State Tax gross Federal Tax: fed Tax Gross Union fees: Union fees Gross Net: Net Gross state tax fed tax Union fees Total Gross for all employees Average Gross for all employees. MUST USE:ARRAYS and Structures and functionsfor Java Students Arrays classes methods and built in the new created classesNO pointers NO CLASSES FOR CPP just arrays, functions, and structures NOOOO Classes if classes are used by CPP students Zero grade will be issued Your input consists of Employee First Name, Middle Initial, Last name, Hours worked, Rate per Hour. State tax, Fed tax and Union fees are constant. Your FORMATTED Output includes all input information and all calculated information such as gross net. etc. Apply whatever is applicable: Loops, constants, data validation, if else, switch, arrays, precision Input validation hours greater than and less than rate greater than and less than Document your program add comments Submit: The source code program and the output The output in the following format use setw: printf for Java.Data Housing Corp. Weekly Payroll~~~~~~~~~~~~~~~~~~~~~~~~~~~First Name MI Last name Rate per hour Hours worked Joe Y Smith $: : :: Prof. Faisal Aljamal
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
