Answered step by step
Verified Expert Solution
Question
1 Approved Answer
PLEASE DO THIS IN C++!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! CSC-214 Payroll Project Spring 2020 Due Date: 2/19/2020 Write a C++ or a Java program to create a payroll report
PLEASE DO THIS IN C++!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
CSC-214 Payroll Project Spring 2020 Due Date: 2/19/2020 Write a C++ or a Java 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 overtime (1.5 for every hour exceeding 40). - cimitrionios Calculate: The Gross income: Gross income = (Raie * hours worked) - over time. The Overtime: Overtime = number of hours exceeding 40 + Rate* 1.5 State Tax: State Tax - gross * 6% Federal Tax: fed Tax - Gross 12% Union fees: Union fees - Gross * 2% Net: Net = Gross (state tax + fed tax + Union fees). Total Gross for all employees. Average Gross for all employees. Direetions: MUST USE: a) ARRAYS b) MUST use functions (C++)/Methods Java 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. 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, clse, switch, arrays, precision Input validation (hours greater than 0 and less than 60, rate greater than 0 and less than50) Document your program (add cominents) Submit: The source code program and the output The output in the following format: Data Housing Corp. Weekly Payroll First Name MI Last name Rate per hour Hours worked Joe Smith $10.99 40 Prof. Faisal AljamalStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started