Employee payroll, C/C++ Programming

You are to write a C++ program which will compute the gross pay,
Social Security Tax, Income Tax and net pay for an employee.

The program needs to prompt for and read the employee''s first and last
names, the hourly rate and the number of hours worked. Both the
hourly rate and the number of hours worked should be doubles to allow
hourly rates like 10.75 and the number of hours worked to be something
like 45.5 hours. So the total input will be 2 strings and 2 doubles.

The gross pay is computed differently depending on whether the number
of hours worked is greater than 40 or less than or equal to 40. For
40 hours or less the pay will be rate*hours. For more than 40 hours
the employee''s gross pay will be 40*rate + 1.5*rate*(hours-40.0).

Everybody pays 5.5% for the Social Security Tax regardless of how much
money was earned.

The income tax is computed using 3 brackets:
?People earning 100.00 or less pay no income tax
?People earning from 100.01 up to 500.00 pay 10% income tax
?People earning over 500.00 pay 20% income tax

The employee''s pay information should be reported like this:

Name Hours worked Pay rate Gross Pay Social
Security Income Tax Net Pay
----------------- ------------ -------- ---------
--------------- ---------- -------
Jim Jones 30.0 10.00 300.00 16.50
30.00 253.50
Posted Date: 3/7/2013 9:26:33 AM | Location : United States







Related Discussions:- Employee payroll, Assignment Help, Ask Question on Employee payroll, Get Answer, Expert's Help, Employee payroll Discussions

Write discussion on Employee payroll
Your posts are moderated
Related Questions
A Padovan string P(n) for a natural number n is defined as: P(0) = ‘X’ P(1) = ‘Y’ P(2) = ‘Z’ P(n) = P(n-2) + P(n-3), n>2 where + denotes string concatenation. For a string of the c

Primarily the term alignment refers the tendency of an address pointer value to be a multiple of some power of two. Thus a pointer with two byte alignment contains a zero in the le

Develop a biomedical imaging project Project Description: This is a biomedical imaging project. Skills required are C++ Programming, Cocoa, Mac OS, Objective C

Aim: To implement a program to convert distance given in feet and inches into meters and centimeters and vice versa. Code:                         class mcm; class

WAP TO ACCEPT THE BASIC SALARY OF EMPLOYEES & CALCULATE NET SALARY   #include stdio.h> #include conio.h>   void main() {                    float Basi

Described multiple inheritance(virtual inheritance)? And explain its advantages and disadvantages? A: It is the procedure in which a child can be derived from more than one pare

You are required to give C++ implementation of following classes: 1. PropertyCategories 2. Plot 3. Flat 4. House Following is the description of all data member and member funct

what are assessor. elaborate with clear easy diagrams

Radix sort - C program: Write a program in c to define a radix sort. void main() {  int array[100],n;  int i;  void radix(int *,int);  printf ("How many nos\

Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec