A programmer has written the following subprogram to calculate the loyalty points earned on a purchase:
def calculate_points(amount_spent, multiplied_tier):
if multiplied_tier == True:
points = amount_spent * 2
else:
points = amount_spent
return points
Identify the name of one parameter used in this subprogram.
33 exam-style questions on Edexcel IGCSE Computer Science Subprograms. Each one has a worked solution and a mark scheme showing where the marks go.