implement a Python program that will check-in the five cars that are being delivered in this week’s shipment and also calculate potential gross profit (and adjusted based on type of car), as well as totals for cost, MSRP (manufacturer’s suggested retail price), potential gross profit, and potential adjusted gross profit. As your program executes, it should: 1. As part of the check-in, prompt the user to enter the car name (e.g., Red 1969 Triumph TR6), MSRP (manufacturer’s suggested retail price), cost, and code of the type of car (0 = domestic or 1 = import) for each car 2. Once the check-in is complete, your program should then print out a summary of the shipment including: a. For each car … Car name, the MSRP, cost, potential gross profit for the car (you’ll need to calculate this), adjusted potential gross profit (you’ll need to calculate this … for domestic cars, there’s no expected adjustment, but for imports we expect to have to adjust the gross profit downward by 1.75% based on last year’s margins), and whether the car is domestic or import (the code should be converted to the word “domestic” or “import” accordingly). b. After printing out the individual information for each of the cars, you will them print out the totals for the shipment including: i. The total of the MSRPs for the five cars ii. The total cost for the five cars iii. The total potential gross profit of the five cars iv. The total adjusted potential gross profit of the five cars Note: This may best be accomplished by accumulating the various totals as you do the check-in (in 1 above) or perhaps as you print out the individual info for the cars (in 2a above)

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

Computer Science

Krannert Specialty Motors is a unique auto dealer that sells both brand new and “lovingly driven” high-end automobiles. Shipment check-in is an important part of the business operations as well getting a quick overview as to the profitability of the shipment. Your task will be to design, write, and implement a Python program that will check-in the five cars that are being delivered in this week’s shipment and also calculate potential gross profit (and adjusted based on type of car), as well as totals for cost, MSRP (manufacturer’s suggested retail price), potential gross profit, and potential adjusted gross profit. As your program executes, it should: 1. As part of the check-in, prompt the user to enter the car name (e.g., Red 1969 Triumph TR6), MSRP (manufacturer’s suggested retail price), cost, and code of the type of car (0 = domestic or 1 = import) for each car 2. Once the check-in is complete, your program should then print out a summary of the shipment including: a. For each car … Car name, the MSRP, cost, potential gross profit for the car (you’ll need to calculate this), adjusted potential gross profit (you’ll need to calculate this … for domestic cars, there’s no expected adjustment, but for imports we expect to have to adjust the gross profit downward by 1.75% based on last year’s margins), and whether the car is domestic or import (the code should be converted to the word “domestic” or “import” accordingly). b. After printing out the individual information for each of the cars, you will them print out the totals for the shipment including: i. The total of the MSRPs for the five cars ii. The total cost for the five cars iii. The total potential gross profit of the five cars iv. The total adjusted potential gross profit of the five cars Note: This may best be accomplished by accumulating the various totals as you do the check-in (in 1 above) or perhaps as you print out the individual info for the cars (in 2a above) For this assignment, do not worry about dollar signs for the various costs, prices, or profits. Also, make sure to use comments to explain the various parts of your 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Follow-up Questions
Read through expert solutions to related follow-up questions below.
Follow-up Question

Krannert Specialty Motors is a unique auto dealer that sells both brand new and “lovingly driven” high-end automobiles.  In addition to car sales, KSM has been experimenting for the year with the idea of leasing cars (using some of the “lovingly driven” high-end automobiles as its inventory) as well and has a subsidiary called Krannert Specialty Motors Leasing (KSML).  Understanding and maintaining the fleet of lease vehicles is important to KSML and sometimes the inventory manager needs to look at historic data to make decisions about the future.   The inventory manager needs to be able to look at both aggregate and specific data about their cars and make some decisions.  Currently there is a small inventory of rough 20-25 cars, but that may grow in the future if this venture proves success.  The cars have unique names based on the type of car or its features (e.g., the name of the Fiat 124 Spider is “spider,” the name of the TR7 is “triangle,” the name of the Alfa Romeo Stelvio Quadrifoglio is “shamrock,” the name of the the Delorean DMC-12 is “marty,” etc.   The aspects of each car that are tracked include actions like general maintenance (general upkeep), fixes (minor upkeep), upgrades (major improvements), and others.  All cars also have other data about them tracked as well including things like number of oil changes, number of bodywork incidents, number of major mechanical issues, unique items tied to type of car (e.g., an import/export waiver if a foreign car … the value will be 1), number of enhancements (these are items done to the car to increase its value like a new paint job or added enhancements to make the engine more powerful) and the agent id.  The agent id is the only data that all cars must have.  The other items only have an entry if the issue has happened (e.g., if the car is a domestic car, it will not have an import/export waiver or, if the car has never had the oil changed, there will be no number of oil changes entry).

      1.  
Solution
Bartleby Expert
SEE SOLUTION
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