Gallery
Cinema World
Share
Explore

icon picker
05-extension

Extension Task

Cinema World are offering drinks to customers for £2.
Add a feature to ask how many drinks the customer would like.
The program should calculate the cost of the drinks and also the total cost including drinks and tickets. Tickets cost £5.
The order confirmation will now include the number of drinks ordered and show the total cost instead of just the cost of tickets.
What new variables will you need? New inputs? New calculations?
Update your pseudocode
Update your code comments
Update your python code
Run, test and debug the update.

Sample output

Enter customer name: Jake Peralta
Enter number of tickets: 4
Enter film name: Die Hard
Enter number of drinks: 3

Cinema World
------------

Ticket Confirmation

Full name: Jake Peralta
Film ame: Die Hard
Numer of Tickets: 4
Number of drinks: 3
Total Cost £26
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.