Find the sum of all multiples of 3 or 5 below a certain number
Just iterate over all numbers in N until you reach the threshold. Add the multiples of 3 or 5 together.
Compute
Solution:
Impressum