top of page

PROGRAMMING CHALLENGES

Dinner Party Planner

Difficulty:

2 Medium

2.2 Practice Exam Questions

Topic:

"Gourmet Delights" catering service wants to streamline their event planning process. Write a function that takes the number of guests attending a dinner party and the menu cost per person as parameters, then calculates and returns the total cost of catering for the event, including a 10% service charge.

- Input: Number of guests and menu cost per person
- Processing: Multiply the number of guests by the menu cost per person. Add a 10% service charge.
- Output: Return total cost of catering for the event.

Need help with your programming skills?

If you need more help than just independent practise, then we're here for you. Book a 1:1 with us and we will be able to guide you to becoming a proficient programmer who can tackle any of the challenges an exam board can throw at you.

bottom of page