Answer to Question #112063 in C++ for silvia

Question #112063
Payroll
Write a C++ program which prompts the user to enter Employee's Name, hours worked and rate per hour..
calculate, gross, tax, net.
display:
Name, Hours worked, Rate per hour, Gross, Rate per hour, NET:
Instructions:
note: declare the name as a string
declare:
string Name;
cin>>Name;
Calculate the gross:
If the employee works more than 40 hours, the excess will be treated as overtime (overtime is calculated by multiplying the excess hours * rate * 1.5.
gross = ( hours - 40) *.15* rate rate per hour+ (40*Rate per hour)
otherwise the gross will be: gross= hours * rate per hour.
let the tax percentage be 15% of gross.
tax per employee is calculated: Tax = tax percentage * gross.
calculate the NET: NET = Gross -Tax
let the program run for 5 times (assuming you have only 5 employees).for every employee: display the output as follow for every employee:
Name:
Hours worked:
Rate per hour:
Gross:
SUBMIT the source code and the output
rate per hour:
NET:
1
Expert's answer
2020-04-24T11:38:19-0400
Dear silvia, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS