Write a cpp program to create a payroll report

Assignment Help C/C++ Programming
Reference no: EM131834004

Assignment: Payroll Project

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 overtime (1.5 for every hour exceeding 40).

Calculate:

1. The Gross income: Gross income = (Rate * hours worked) + over time.

2. The Overtime: Overtime = number of hours exceeding 40 * Rate* 1.5

3. State Tax:      State Tax = gross * 6%

4. Federal Tax:    fed Tax = Gross * 12%

5. Union fees:     Union fees = Gross * 2%

6. Net:               Net = Gross - (state tax + fed tax + Union fees).

7. Total Gross for all employees.

8. Average Gross for all employees.

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.

• 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 0 and less than 60, rate greater than 0 and less than50)

• Document your program (add comments)

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                Y             Smith             $10.99                    40
:
:
:

Reference no: EM131834004

Questions Cloud

Analyze how the slippery slope theory contributes : How does the slippery slope contribute to illegal and unethical decision-making in policing or corrections?
Natural selection and genetic drift : What is the difference between Natural Selection and Genetic Drift?
What type of chemical reaction is this : Many smaller glucose molecules are put together to form a large glycogen molecule. What type of chemical reaction is this?
How does data recovery differ from computer forensics : Did the tool recover the deleted files? What other files were recovered, if any? How does data recovery differ from computer forensics?
Write a cpp program to create a payroll report : Write a C++ program to create a payroll report based on the following assumptions and requirements.
Find a case from kroll ontracks website that deals : Find a case from Kroll Ontrack's website that deals with one of the following the Federal Rules of Civil Procedure.
Who gets to san francisco first : Alan leaves Los Angeles at 8am to drive to San Francisco 400 miles away. He travels at a constant 50 mph. Beth leaves Los Angeles at 9am and travels
Describe the type of computer crime : How the evidence was analyzed - including the processes and what tools were used.How the crime scene was secured.
Average chirp rate of a cricket at temperatures : The colder the temperature, the slower the rate of chirping. The table below shows the average chirp rate of a cricket at temperatures.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd