Question 3

AQA Computer Science June 2025 Paper 1B (8525/1B)GCSE8 marks

On the specification

3.2 Programming
Question text

3 Write a Python program that calculates the total cost of a netball coaching session for box a group of students. The total cost is calculated as follows: • A booking fee of £20 plus: o £5 per student if there are 15 students or fewer o £3 per student if there are more than 15 students • If there are more than 25 students, a booking fee of £100 and no other charges. Your program should: • get the user to enter the number of students • output the total cost of the session. 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. [8 marks]