Project #63410 - Employee Pay Report

MUST USE CODEBLOCKS!!!!!!!!!!!!!!!!!!!!!!!!! Problem Description

A company pays its employees on a weekly basis. The company has three types of employees:

  • Salaried employees, who are paid a fixed weekly salary regardless of the number of hours worked;
  • Hourly employees, who are paid by the hour and receive overtime pay;
  • Commission based employees whose pay is based on a fixed weekly base pay of $500 plus 10% of the total sales for that week. For example, a weekly sale of $10,000 would earn the employee a total of $1,500 ($500 base pay + $1,000 in commission) for that week.

Create a console-based object-oriented C++ application that

  • Calculates weekly pay for an employee. The application should display text that requests the user input the name of the employee, type of employee, and the weekly salary, if it's a salaried employee, or hourly rate and hours worked in the week, if it’s an hourly employee.
  • For hourly employees, the rate will be doubled if it’s beyond 40 hours/week.
  • The program should then print out the name of the employees, employee status, total hours worked for the week, and hourly rate if applies, and the weekly payment amounts. In the printout, display the dollar symbol ($) to the left of the weekly pay amount and format the weekly payment amount to display currency. The program should print the list in certain order, for example, by employee type, then by wage, and then by total pay.
  • Implements the following features that allows the user to:
    • Reward selected salaried employees by adding 10% to their salaries. Your program should display an asterisk (*) to the upper right of the weekly pay amount, and a note stating bonus added below the table, as shown below:
      Name Status Hours  Sales   Wages    Pay
      James Hogan Salaried - -   $75.00 $3,300.00*
      Jennifer Waltz Hourly 45 -   $10.95   $547.50
      Molly Smith Hourly 32 -   $15.00   $480.00
      Bob Wagger Commissioned - $20,000  $500.00 $2,500.00
      Joan Han Salaried - -   $65.00 $2,860.00*

      *A 10% bonus is awarded

       

      Submission

       

      • A design document (depicting the classes, and their relationships)

Subject Computer
Due By (Pacific Time) 03/23/2015 11:59 pm
Report DMCA
TutorRating
pallavi

Chat Now!

out of 1971 reviews
More..
amosmm

Chat Now!

out of 766 reviews
More..
PhyzKyd

Chat Now!

out of 1164 reviews
More..
rajdeep77

Chat Now!

out of 721 reviews
More..
sctys

Chat Now!

out of 1600 reviews
More..
sharadgreen

Chat Now!

out of 770 reviews
More..
topnotcher

Chat Now!

out of 766 reviews
More..
XXXIAO

Chat Now!

out of 680 reviews
More..
All Rights Reserved. Copyright by AceMyHW.com - Copyright Policy