Question: Dinner Time Function Name: dinner Time() Parameters: N/A Returns: None Description: You and your friends decide to celebrate returning to campus by going out to
Dinner Time Function Name: dinner Time() Parameters: N/A Returns: None Description: You and your friends decide to celebrate returning to campus by going out to eat din- ner. You decide to treat your friends and take care of the bill. Write a function that asks a user how many entrees they want and how many drinks they want and then prints the cost of the entire meal. Drinks are worth $4.50 and entrees are worth $12. Round your answer to two decimal points. >>> dinnerTime() How many entrees will you be ordering? 3 How many drinks will you be ordering? 3 The total cost of all the meals and drinks is $49.5. >>> dinnerTime() How many entrees will you be ordering? 5 How many drinks will you be ordering? 7 The total cost of all the meals and drinks is $91.5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
