Question

2) Function O_Print_Car_6 that accepts a row of a "database" array. Function must call O_Car_Discount_6 to calculate discounted price of a car. Function must print vehicle engine size, mileage, price and discounted price as per sample output. Function must convert vehicle type to user-friendly format per table below (25 points):

Fig: 1

Fig: 2