We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
0 parents commit 9dc7a72Copy full SHA for 9dc7a72
1.rb
@@ -0,0 +1 @@
1
+puts 1.upto(999).select{|n|n % 3 == 0 or n % 5 == 0}.inject{|sum, n| sum + n}
0 commit comments