Question: Pall 201) CMSC 140 Project 4 Concepts tested by this program: 1. To work with cout object (to display output/prompt/message) o work with cin object

 Pall 201) CMSC 140 Project 4 Concepts tested by this program:
1. To work with cout object (to display output/prompt/message) o work with
cin object (to obtain input from user, i.e., ask user to enter

Pall 201) CMSC 140 Project 4 Concepts tested by this program: 1. To work with cout object (to display output/prompt/message) o work with cin object (to obtain input from user, i.e., ask user to enter the employee data ) 3. To work with mathematical expressions 4. To work with characters and string objects 5. To format output. 6. To work with loops. Program 4: Payroll Report Project Description and Requirements Write a program that displays a weekly payroll report. A loop in the program should ask the user for the employee number, gross pay, state tax, federal tax, and FICA withholdings. The loop will terminate when 0 is entered for the employee number. After the data is entered, the program should display totals for gross pay, state tax, federal tax, FICA withholdings, and net pay. Input Validation: Do not accept negative numbers for any of the items entered. Do not accept values for state, federal, or FICA withholdings that are greater than the gross pay. If the sum state tax + federal tax + FICA withholdings for any employee is greater than gross pay, print an error message and ask the user to reenter the data for that employee

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!