Question
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
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 program.
Step by Step Solution
3.35 Rating (161 Votes )
There are 3 Steps involved in it
Step: 1
ANS WER 1 Enter the car name 2 Enter the MS RP 3 Enter the cost 4 Enter the code for the type of car ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started