The cost of a brand new car is ₱420,000 for GL model and ₱3398,000 XL model. If a car phone will be installed, an additional ₱40,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.
* ₱ is the symbol for Philippine peso :) thank you Sir/Ma'am
Comments
Leave a comment