Gallery
Transmit Music Festival
Share
Explore
Transmit Music Festival

icon picker
The Task

Activity: Transmit Music Festival 🎵 🌭 🎟 🎪

New Ticketing System Needed

Display the title Transmit Music Festival at the start of the program. It should store these ticket price options:
1 day ticket £62.50
2 day ticket £119.50
3 day ticket £165.00
The program should ask their full name, age and how many of each ticket they would like to buy.
There is an age restriction no one under 12 can buy a ticket, it should display an error message if they are too young. If they are old enough it should calculate the total price of the tickets and display the title Transmit Music Festival - Booking confirmation along with a message saying how many 1 day tickets, 2 day tickets and 3 day tickets they have ordered and what the total cost will be.
Try to match the sample display format shown.

Sample Output

check these samples so that you are sure about how the proces, zones and food tokens are worked out.
test data 1
Full name: Lucas Sinclair
Age: 12
Number 1 day tickets: 0
Number 2 day tickets: 6
Number 3 day tickets: 0
result 1:
Transmit Music Festival
Ticket Confirmation

Full name: Lucas Sinclair
Number one day tickets: 0
Number two day tickets: 6
Number three day tickets: 0
Total Cost : £717
test data 2
Full name: Steve Harrington
Age: 20
Number 1 day tickets: 0
Number 2 day tickets: 0
Number 3 day tickets: 4
result 2:
Transmit Music Festival
Ticket Confirmation

Full name: Lucas Sinclair
Number one day tickets: 0
Number two day tickets: 0
Number three day tickets: 4
Total Cost : £660
test data 3
Full name: Erica Sinclair
Age: 11
result 3:
Sorry you are not old enough
Share
 
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.