Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

In this lesson we covered the use of Arrays. You are to create a flowchart and write the pseudocode for the following program. Design a

In this lesson we covered the use of Arrays. You are to create a flowchart and write the pseudocode for the following program.

Design a program that computes pay for employees. Allow a user to continuously input employees names until an appropriate sentinel value is entered. Also input each employees hourly wage and hours worked. Compute each employees gross pay (hours times rate), withholding tax percentage (based on Table 6-4), withholding tax amount, and net pay (gross pay minus withholding tax). Display all the results for each employee. After the last employee has been entered, display the sum of all the hours worked, the total gross payroll, the total withholding for all employees, and the total net payroll.

Weekly Gross Pay ($)

Withholding Percent (%)

0.00 300.00

10

300.01 550.00

13

550.01 800.00

16

800.01 up.000

20

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions