Problem

Diana Lee, a supervisor in a manufacturing company, wants to know which employees have i...

Diana Lee, a supervisor in a manufacturing company, wants to know which employees have increased their production this year over last year. These employees will receive certificates of commendation and bonuses. Design a flowchart or pseudocode for the following:

a. A program that continuously accepts each worker's first and last names, this year's number of units produced, and last year's number of units produced. Display each employee with a message indicating whether the employee's production has increased over last year's production.

b. A program that accepts each worker's data and displays the name and a bonus amount. The bonuses will be distributed as follows: If this year's production is greater than last year's production and this year's production is:

• 1000 units or fewer, the bonus is $25.

• 1001 to 3000 units, the bonus is $50.

• 3001 to 6000 units, the bonus is $100.

• 6001 units and up, the bonus is $200.

c. Modify Exercise 9b to reflect the following new facts, and have the program execute as efficiently as possible:

• Thirty percent of employees have greater production rates this year than last year.

• Sixty percent of employees produce over 6000 units per year; 20 percent produce 3001 to 6000; 15 percent produce 1001 to 3000 units; and only 5 percent pro-duce fewer than 1001.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 4
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT