Question: Draw a flowchart that would provide a workable solution to the following problem. Management would like a printed report that shows the total bonus pay

Draw a flowchart that would provide a workable solution to the following problem.

Management would like a printed report that shows the total bonus pay awarded based on the number of years a person has worked for the company and the total bonus pay.

1. The data file is on a disk.

2. The file contains the required fields (date of hire and total annual pay) and may include fields that are not needed for this problem.

3. The bonus for those with 30 or more years of service is 10% of total annual pay.

4. The bonus for those with at least 20 years of service but less than 30 years is 6% of total annual pay.

5. The bonus for those with at least 5 years of service but less than 20 years is 3% of total annual pay.

6. An employee who has not worked for the company for at least 5 years receives a bonus of $200.

7. For this assignment the data file must be processed one record at a time.

The report should look something like: (remember that a flowchart does NOT use specific data)

Bonus Pay Report.

Years of Total amount service bonus paid

30 or more $5,220.00

20 to 30 2,300.00

5 to 20 540.00

less than 5 1,000.00

Total bonus pay $9,060.00

Thank you

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!