Computer Science, asked by kotharimaharshi, 1 month ago

Write a program in Java to input the cost of car and the type of car purchased (D for

Diesel Car and P for Petrol Car) from a customer. Using the above criteria compute

and print the net amount to be paid by a customer.

discount = (discount rate /100) × amount of purchase

Net amount = amount of purchase – discount.​

Answers

Answered by neelamsandhu81
0

Answer:

Nsnshsjslsnsdsnfnwufulflsjxltnlsnfnfjwuwywuuslshshssbbsdshrewenshfnsusushhsbriseshsvsbkrksbvsensnsnbxerseesnsnsnsnsnhshxlseseesnshsnxesushdsdwlwuntnteziziezeeeseseseseselsnshsnsesesdnsifbshx

Similar questions