C++ program that displays a weekly payroll report A loop in the program should ask the user for the employee ID (a 3-digit integer), gross pay, state tax ($), and federal tax ($). The loop will...


C++ program that displays a weekly payroll report


A loop in the program should ask the user for the employee ID (a 3-digit integer), gross pay, state tax ($), and federal tax ($).



The loop will
terminate

when 0
is entered for the
employee ID
.



After the data is entered, the program
should display
the

totals

 for gross pay
,
state tax
,
federal tax
, and
net pay (= totalGrossPay - totalStateTax - totalFedTax.



Input validations:




  • No negative values should be accepted.


  • Taxes should be less than gross pay.



Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here