[Challenge:1] Multiples of 3 and 5 11-25-2016, 08:23 PM
#1
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.
Find the sum of all the multiples of 3 or 5 below 1000.
Don't just answer this share the code that made you solve it.
If done you'll get yourself 50 points.
For extra 50 points do a function to reverse that sum and a function to sort it in ascending order.
Example:if the sum was 8673 reversing function will change it to 3768 and sorting it in ascending order will make it 3678
Happy coding guys !!
Find the sum of all the multiples of 3 or 5 below 1000.
Don't just answer this share the code that made you solve it.
If done you'll get yourself 50 points.
For extra 50 points do a function to reverse that sum and a function to sort it in ascending order.
Example:if the sum was 8673 reversing function will change it to 3768 and sorting it in ascending order will make it 3678
Happy coding guys !!
Java C++ C Python and Ruby and GO can't be used anymore for this challenge, but there's plenty of languages you can work with
(This post was last modified: 12-03-2016, 12:50 PM by Vi-Sion.)





![[+]](https://sinister.li/images/modern/collapse_collapsed.png)









![[Image: 9H83e18.png]](https://i.imgur.com/9H83e18.png)
![[Image: inkexplosion.jpg]](http://i0.wp.com/techverse.net/wp-content/uploads/2013/09/inkexplosion.jpg)















+n}.to_s,sum.reverse,sum.chars.sort.join


