CAPE Computer Science Unit 1 · 2015 · Paper 2 · Question 3(d)
Write an algorithm using iteration to calculate the sum of all multiples of 8 and all multiples of 11 between m (inclusive) and n (exclusive), where m and n are positive integers input by the user and n > m.
The mark scheme is shown once you've answered.
Practise this question