Question 7
AQA Computer Science June 2023 Paper 1B (8525/1B)GCSE6 marks
On the specification
- 3.2 Programming
Question text
7 A theme park charges £15 per person for a daily ticket. If there are six or more box people in a group, the group is given a £5 discount. Write a Python program to calculate the total charge for a group of people visiting the theme park. The program must: • get the user to enter the number of people in a group • calculate the total charge by: o charging £15 per person o reducing the total charge by £5 if there are six or more people • output the total charge. You should use indentation as appropriate, meaningful variable name(s) and Python syntax in your answer. The answer grid below contains vertical lines to help you indent your code. [6 marks]