Question: 17. Write a program named Payroll that prompts the user for a name, Social Security number, hourly pay rate, and number of hours worked. In

 17. Write a program named Payroll that prompts the user for

17. Write a program named Payroll that prompts the user for a name, Social Security number, hourly pay rate, and number of hours worked. In an attractive format (similar to Figure 2-23), display all the input data as well as the following: .gross pay, defined as hourly pay rate times hours worked federal withholding tax, defined as 15 percent of the gross pay state withholding tax, defined as 5 percent of the gross pay net pay, defined as gross pay minus taxes CNCaNChapter.82>Payroll Enter your nane: Ruth Roberts ocial Security number: 987-65-4320 lourly pay rate: 13.58 lours worked: 36 Payro11 Sunnary for: Ruth Roberts SSN: 987-65-4320 You worked 36 hours at $13.58 per hour Gross pay Federal withholding: State withholding $486.00 $72.90 24.30 Net pay $388.88 CaNCit Chapter.82

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!