Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem Diana Lee, a supervisor in a manufacturing company, wants to know which employees have increased their production this year over last year so that

Problem

Diana Lee, a supervisor in a manufacturing company, wants to know which employees have increased their production this year over last year so that she can issue them certificates of commendation and bonuses. Design a Raptor flowchart for following: A program that accepts each workers first and last names, this years number of units produced, and last years number of units produced. Displays the name and a bonus amount. The bonuses will be distributed as follows: If this years production is greater than last years production and this years production is: 1,000 units or fewer, the bonus is $25 1,001 to 3,000 units, the bonus is $50 3,001 to 6,000 units, the bonus is $100 6,001 units and up, the bonus is $200 Name the file lab6.rap Output #1 Enter last name: Smith Enter first name: John Enter this year's units: 3000 Enter last year's units: 4000 Smith, John Bonus is $0.0 Output #2 Enter last name: Smith Enter first name: John Enter this year's units: 900 Enter last year's units: 300 Smith, John Bonus is $25.0 Output #3 Enter last name: Smith Enter first name: John Enter this year's units: 2500 Enter last year's units: 2000 Smith, John Bonus is $50.0 Output #4 Enter last name: Smith Enter first name: John Enter this year's units: 4500 Enter last year's units: 4000 Smith, John Bonus is $100.0 Output #5 Enter last name: Smith Enter first name: John Enter this year's units: 7000 Enter last year's units: 6000 Smith, John Bonus is $200.0

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Big Data Concepts, Theories, And Applications

Authors: Shui Yu, Song Guo

1st Edition

3319277634, 9783319277639

More Books

Students also viewed these Databases questions

Question

Question What is a Roth 401(k) feature?

Answered: 1 week ago