Write a program to calculate the total price for car wash services. A base car wash is $10. A dictionary with each additional service and the corresponding cost has been provided. Two additional...


Write a program to calculate the total price for car wash services. A base car wash is $10. A dictionary with each additional service and the<br>corresponding cost has been provided. Two additional services can be selected. A- signifies an additional service was not selected. Output<br>all selected services along with the corresponding costs and then the total price for all car wash services.<br>Ex: If the input is:<br>Tire shine<br>Wax<br>the output is:<br>ZyCar Wash<br>Base car wash -- $10<br>Tire shine -- $2<br>Wax -- $3<br>Total price: $15<br>Ex: If the input is:<br>Rain repellent<br>the output is:<br>ŻyCar Wash<br>Base car wash --<br>$10<br>Rain repellent -- $2<br>Total price: $12<br>

Extracted text: Write a program to calculate the total price for car wash services. A base car wash is $10. A dictionary with each additional service and the corresponding cost has been provided. Two additional services can be selected. A- signifies an additional service was not selected. Output all selected services along with the corresponding costs and then the total price for all car wash services. Ex: If the input is: Tire shine Wax the output is: ZyCar Wash Base car wash -- $10 Tire shine -- $2 Wax -- $3 Total price: $15 Ex: If the input is: Rain repellent the output is: ŻyCar Wash Base car wash -- $10 Rain repellent -- $2 Total price: $12

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here