CAPE Computer Science Unit 1 · 2014 · Paper 2 · Question 3(c)
Write an algorithm that uses iteration to find the sum of all multiples of six and all multiples of seven between 100 and 250 exclusive. Use one variable, for example, sumMult, to accumulate the sum of the multiples of both numbers in the given range.
The mark scheme is shown once you've answered.
Practise this question