Customer Service Chat
Get quote & make Payment
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
Posted Date: 3/7/2013 9:26:33 AM | Location : United States
Ask an Expert
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
Write your message here..
#pointers, what is the purpose of pointer ? what is the syntax? how it work...
what is the purpose of pointer ? what is the syntax? how it works?
#accept 3 digit number, Write a ''C'' program to accept any 3 digit integer...
Write a ''C'' program to accept any 3 digit integer number from the keyboard and display the word equivalent representation of the given number
In p = new fred(), Q: In p = new Fred(), does the Fred memory "leak" if Fr...
Q: In p = new Fred(), does the Fred memory "leak" if Fred constructor throws an exception? A: No. If an exception take place during the Fred constructor of p = new F
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
Explain passing and returning objects, Passing and Returning Objects Ob...
Passing and Returning Objects Objects can be passed to a function and returned back just like normal variables. When an object is passed by content, the compiler makes another
Which constructor gets called while i create an array of , Which constructo...
Which constructor gets called while I create an array of Fred objects?
Develop pidgin for windows, Develop Pidgin for Windows Project Descripti...
Develop Pidgin for Windows Project Description: I want to build Pidgin (open source instant messenger) for Windows with D-Bus support enabled. I've effectively built both
Integer parameters, write a static method with one integer parameter, x tha...
write a static method with one integer parameter, x that returns the value of the polynomial 3x(2)- 7x + 2
Difference between method overloading and method overriding, Overloading a ...
Overloading a method (or function) in C++ is the ability for functions of the similar name to be defined as long as these methods have dissimilar signatures (different set of param
Program of three numbers arguments and returns the sum , Define a procedure...
Define a procedure that takes three numbers as arguments and returns the sum of the squares of the two larger numbers.
Accounting Assignment Help
Economics Assignment Help
Finance Assignment Help
Statistics Assignment Help
Physics Assignment Help
Chemistry Assignment Help
Math Assignment Help
Biology Assignment Help
English Assignment Help
Management Assignment Help
Engineering Assignment Help
Programming Assignment Help
Computer Science Assignment Help
Why Us ?
~24x7 hrs Support
~Quality of Work
~Time on Delivery
~Privacy of Work
Human Resource Management
Literature Review Writing Help
Terms & Conditions
Copyright by ExpertsMind IT Educational Pvt. Ltd.