top of page
PROGRAMMING CHALLENGES
Object-Oriented Ticketing System
Difficulty:
3 Hard
2.6 OOP
Topic:
Create a class Ticket with attributes event, price, and seat. Write a method applyDiscount() that reduces the ticket price by a given percentage if a discount code is applied.
The constructor should initialize the attributes, and applyDiscount() should adjust the price based on the discount percentage provided.
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.
1 hr
50 British pounds1 hr
55 British pounds
bottom of page