Employee payroll, C/C++ Programming

Assignment Help:
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

Related Discussions:- Employee payroll

Credit Card Validation Check digit, Use 16 digit credit card numbers that c...

Use 16 digit credit card numbers that contain 15 digits an 1 check digit. The format of the card number consists of the 15 digits followed by the check digit. The check digit is co

C program for sorting, C Program for SORTING # include stdio.h> void...

C Program for SORTING # include stdio.h> void main() {           char a;           int *p;           int i,j,temp;           clrscr();           p=&i;

Non-maxima suppression, Use the program called harris-shell.c and add some ...

Use the program called harris-shell.c and add some code to find the corners in the image checkers.jpg. You should say that a pixel in the image is a corner if it passes the given t

Can i overload operator == so it allow me compare two char[], Q: Can I over...

Q: Can I overload operator == so it allow me compare two char[] by a string comparison? A: No: at least one operand of particular overloaded operator should be of some user-defi

multithreaded server, Implement a multithreaded server that can be used as...

Implement a multithreaded server that can be used as a proxy server to access some designated file (say it reflects the proxy copy of two file1.txt, file2.txt). Now use a client to

Fibonacci series, draw the flow chart to print the fibonacci series upto n ...

draw the flow chart to print the fibonacci series upto n th terms

Algorthrithm for c programe, Need algorithm for c programe #Minimum 100 wor...

Need algorithm for c programe #Minimum 100 words accepted#

Program, Define a class polynomial with three private data members a, b and...

Define a class polynomial with three private data members a, b and c of type double to represent the coefficient of two degree polynomial(ax^2+bx+c). Include a constructor in a pol

Write Your Message!

Captcha
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