Priya has written a program to help Marcus calculate the bonus points he has earned during a cycling training challenge.
Here is the program code:
points = 15
multiplier = 3
for i in range(1, 4):
points = points + (i * multiplier)
State the value of points when the program finishes.
18 exam-style questions on Edexcel IGCSE Computer Science Constructs. Each one has a worked solution and a mark scheme showing where the marks go.