top of page

PROGRAMMING CHALLENGES

Movie Ticket Price Calculator

Difficulty:

2 Medium

2.2 Practice Exam Questions

Topic:

Write a program for a cinema that calculates ticket prices. The user should enter the number of adult and child tickets. Adult tickets are �10, and child tickets are �6. If the total exceeds �50, apply a 10% discount. Display the final total.

Use if statements and basic arithmetic for ticket price calculation and discount application.

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