Question 7

AQA Computer Science June 2023 Paper 1C (8525/1C)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 VB.NET 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 meaningful variable name(s) and VB.NET syntax in your answer. The answer grid below contains vertical lines to help you indent your code. [6 marks]