Answer :
Answer:
Explanation:
The following code is writen in Python. It is a function called minPrice. It asks the user to input the list price of the vehicle and then multiplies that by 0.85 in order to get the dealer's cost. Then it adds 500 to that price and returns it to the user as the minimum price that the dealer would accept for the car.
def minPrice():
list_price = input("Please enter the list price of the car: ")
dealers_cost = int(list_price) * 0.85
min_accepted_price = dealers_cost + 500
print(min_accepted_price)