A cinema calculates ticket prices based on age category
- Adult = £13.00
- Child = £7.50
The program asks the user to enter their age and calculates the cost of their ticket
A simple algorithm is used
adult = 13.00
child = 7.50
age = input("What is your age: ")
if age > 18 then
total_cost = adult
else
toal_cost = child
end if
print(total_cost)
The cinema decides to add a discount of 25% to customers who come to the cinema on 'Sunday evening'
Identify all the additional inputs that will be required for this change to the algorithm [2]
How to answer this question
- What new information is needed?
Answer