The cost of a brand new car is P420,000 for GL model and P3398,000 XL model. If a car phone will be installed, an additional P40,000 will be added to the cost. Moreover, 15% discount on the total cost will be given if the buyer pays in full(not installment), Write a Program that would input the car model bought, whether with car phone, use code ‘’W’’ for with car phone and ‘’O’’ for without car phone) and whether it will be paid in full(use code’’F’’ for full payments and ‘’I’’ for instalment).Program must then output the cost of the car.
Comments
Leave a comment