Sum Of Multiples Easy

+50 PTS

Before you start the test, check out our tutorial challenge

  • TYPE CODE PRACTICE CHALLENGE
  • LANGUAGES BASH, C, C++, C# AND 20 MORE
    LANGUAGES BASH, C, C++, C#, CLOJURE, ELIXIR, ERLANG, GO, GROOVY, HASKELL, JAVA, JAVASCRIPT, JULIA, KOTLIN, NIM, PERL, PHP, PYTHON2, PYTHON, RUBY, RUST, SWIFT, TYPESCRIPT, VB
  • TIME ~10MIN

Sum Of Multiples

Challenge outline

Hello and welcome to the challenge!


Write a code which returns the sum of all the multiples of 3 or 5 below the number N. For example, for 7 we have 3, 5 and 6, so the result is 14.


As soon as you’re ready tap “Start test” button above and show us your amazing skills!


Have fun and good luck! :)