Question 3
AQA Computer Science June 2025 Paper 1C (8525/1C)GCSE8 marks
On the specification
- 3.2 Programming
Question text
3 Write a VB.NET program that calculates the total cost of a netball coaching session box for 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 meaningful variable name(s) and VB.NET syntax in your answer. The answer grid below contains vertical lines to help you indent your code. [8 marks]