Question: Used Car Sales Program For this assignment, you will be creating a used car dealer simulator. First, you should print out a welcome message with
Used Car Sales Program
For this assignment, you will be creating a used car dealer simulator. First, you should print out a welcome message with the name of your dealership. Read from a file or stdin which car the customer wants to buy. Then read how much they want to pay for the car. Be sure to use the car they specified when displaying the suggested price.
Once you have the car and price, it's time to hit your customer with the fees. A list of fees and amounts are shown below. All of the fees are flat fees as listed, except for the sleaze tax and restocking fee, which are 5% and 12% of the cars base price, respectively. You should output a report of the total cars cost as shown. Make sure to line up all of the prices.
Sample Output:
Welcome to Ripoff Emporium, LLC
You are interested in the: Shiny Red Sportsmobile
You want to give us $10000 for the Shiny Red Sportsmobile.
Sales Report:
Shiny Red Sportsmobile
Base Price: $10000
Additional Dealer Markup: $1000
Processing Fee: $100
Destination Charge: $495
Undercoating: $295
Rust-Proofing: $395
Prep Fee: $250
Sleaze Tax (5%) $500
Restocking Fee (12%) $1200
Total Cost: $14235
To Do:
Write an algorithm in Pseudocode to implement the Used Car Sales Program.
How do create a pseudocode for this problem?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
