The CarMin dealership has approached you to write a program to keep track of the sales commissions paid to the sales team each time they sell a used car. The amount of the commission that a salesperson earns is based on the type of vehicle sold. Currently CarMin is trying to incentivize it salesforce to try and sell Hybrids and SUVS because these vehicles generate the most profit within the dealership. These vehicle types have the highest commissions. Vehicle Type Bonus Commission Hybrid 4.0% of Selling Price Coupe 1.5% of Selling Price Sedan 1.5% of Selling Price SUV 3.0% of Selling Price Minivan 2.5% of Selling Price Create a program for use by the sales manager to track commissions by vehicle type. It is unknown how many cars the dealership will sell in a given month. The program should allow the manager to continuously enter a vehicle type and selling price each time a vehicle is sold. You must validate the vehicle type and selling price using appropriate validation. If any validations fails you should provide an error message and re-prompt the manager.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
The CarMin dealership has approached you to write a program to keep track of the sales commissions
paid to the sales team each time they sell a used car. The amount of the commission that a salesperson
earns is based on the type of vehicle sold. Currently CarMin is trying to incentivize it salesforce to try
and sell Hybrids and SUVS because these vehicles generate the most profit within the dealership. These
vehicle types have the highest commissions.
Vehicle Type
Bonus Commission
Hybrid
4.0% of Selling Price
Coupe
1.5% of Selling Price
Sedan
1.5% of Selling Price
SUV
3.0% of Selling Price
Minivan
2.5% of Selling Price
Create a program for use by the sales manager to track commissions by vehicle type. It is unknown how
many cars the dealership will sell in a given month. The program should allow the manager to
continuously enter a vehicle type and selling price each time a vehicle is sold. You must validate the
vehicle type and selling price using appropriate validation. If any validations fails you should provide an
error message and re-prompt the manager.
Once the manager has indicated they are finished entering sales, display a well-formatted report
containing a list of each vehicle type along with:
total sold
total sales
total commissions earned
average commission earned.
Transcribed Image Text:The CarMin dealership has approached you to write a program to keep track of the sales commissions paid to the sales team each time they sell a used car. The amount of the commission that a salesperson earns is based on the type of vehicle sold. Currently CarMin is trying to incentivize it salesforce to try and sell Hybrids and SUVS because these vehicles generate the most profit within the dealership. These vehicle types have the highest commissions. Vehicle Type Bonus Commission Hybrid 4.0% of Selling Price Coupe 1.5% of Selling Price Sedan 1.5% of Selling Price SUV 3.0% of Selling Price Minivan 2.5% of Selling Price Create a program for use by the sales manager to track commissions by vehicle type. It is unknown how many cars the dealership will sell in a given month. The program should allow the manager to continuously enter a vehicle type and selling price each time a vehicle is sold. You must validate the vehicle type and selling price using appropriate validation. If any validations fails you should provide an error message and re-prompt the manager. Once the manager has indicated they are finished entering sales, display a well-formatted report containing a list of each vehicle type along with: total sold total sales total commissions earned average commission earned.
Expert Solution
steps

Step by step

Solved in 4 steps with 4 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY