Question 16 Open IDLE or VS Code and write program to solve the problem listed below. You have been asked to write a sma
Posted: Sun Jul 10, 2022 11:25 am
Question 16 Open IDLE or VS Code and write program to solve the problem listed below. You have been asked to write a small app that will help a customer for Doggy Day Care, to estimate the total cost of boarding, training or daycare for their dogs. The price of daycare is $20 a day, training is $65 a session and boarding is $35 a night. Make sure your program asks the user for the name of the dog, what service they wish to purchase and the number of days, sessions or nights. Make sure your input statements are tailored to what the customer wishes to purchase. If the customer enters D for daycare you want to prompt them as follows: How many sessions will your dog be attending daycare? If the customer enters B for Boarding the input should be: How many nights will your dog be staying with us? 20 pts And finally if the user enters T for training, the input should be: How many training sessions do you wish to reserve? The output for your program needs to include the name of the dog along with the total cost. For instance if the user enters Fido as their dog, B for boarding and 2 for the number of nights, the output should look like the following: Dog Name: Fido Total is: $ 70