Ad
  • Custom User Avatar

    Hi,

    Your code is correct for finding sum om multiples of 3 and 5 under 10. But the description states that:
    "returns the sum of all the multiples of 3 or 5 below the number passed in."
    Since this only works for 10 and not any given number by the method, this will not work.

    If you can change it such that it calculates all of then for the given number,it will work correctly!