Question: Chapter 3 & 4 Prompt the user for three employees name, sales and commission rate: (Items highlighted in yellow is user input and is variable)

Chapter 3 & 4 Prompt the user for three employees name, sales and commission rate: (Items highlighted in yellow is user input and is variable) Example prompts: Enter sales employee 1 name: Jones Enter sales employee 1 total monthly sales: 2500 Enter sales employee 1 commission rate: .10 (e.g. 10 %) Enter sales employee 2 name: Smith Enter sales employee 2 total monthly sales: 1500 Enter sales employee 2 commission rate: .20 Enter sales employee 3 name: Samuel Enter sales employee 3 total monthly sales: 4000 Enter sales employee 3 commission rate: .05 Print out the employee name, commission in the order of highest commission to lowest commission. Example output (for the above entered data): Smith 300 Jones 250

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!