Question: Python Programming - A caterer estimates that the cost per plate will be $12.50 but only 75% of invited guests will attend. Ask the user

Python Programming - A caterer estimates that the cost per plate will be $12.50 but only 75% of invited guests will attend. Ask the user how many are invited, then calculate how many people are estimated to attend and the cost of the entire meal. Define and use the main function and write another function that will print the number of people invited, the number of people expected to attend, and the cost of the meal based on expected attendance. Format the numbers to be readable (dollar signs, commas, two decimals for money, zero decimals for guests). Expected number of guests should be an integer, rounded up from any decimal amount

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!