The following is what I need to do: You are writing a program to display the cos
ID: 3531705 • Letter: T
Question
The following is what I need to do: You are writing a program to display the cost of car for a car salesperson. You should have the user enter the make and model of the vehicle and the base price. Your program should then add on other items such as undercoating, filing fees and other items you see when buying a car - license, dealer prep, freight, and others if you can think of them. The tax should be a percentage and you can use the local tax percentage in your area. Your program should then output a final price, the make, model of the vehicle you are selling.
The following is what I need to do: You are writing a program to display the cost of car for a car salesperson. You should have the user enter the make and model of the vehicle and the base price. Your program should then add on other items such as undercoating, filing fees and other items you see when buying a car - license, dealer prep, freight, and others if you can think of them. The tax should be a percentage and you can use the local tax percentage in your area. Your program should then output a final price, the make, model of the vehicle you are selling.
Explanation / Answer
car=input("Enter car make:"); make=input("Enter car model:"); a=input("Enter the vase price:"); a=int(a); a = (base * tax / 100) b = (base*license /100) c = a + b + base d = c + dealer_prep e = d + destination_charge print " Car model is:",car print " Car make is:",make print " After taxes the price is: ", a + base print " After taxes and license fee the price is: ", c print " After taxes and license fee and dealer prep the price is: ", d print " After taxes, license fees, dealer prep, and destination charge, the total price is: ", e
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.