Ad
  • Default User Avatar

    "If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.

    Finish the solution so that it returns the sum of all the multiples of 3 or 5 below the number passed in."

    I passed the test but when clicking on attempt, I get an error saying expected:<78> but was: <23> so when changing the value of x to 20, I then get an error saying expected:<23> but was: <78>. I'm now confused.