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
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started