Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiorosa1 authored Mar 28, 2019
1 parent 9b2cd69 commit c4964eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Project Euler/problem-1-multiples-of-3-and-5.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"index.js":"function multiplesOf3and5(number) {\n // Good luck!\n let sum =0;\n for(let i = 1;i < number;i++){\n if((i%3 === 0) || (i%5 === 0)){\n sum+=i;\n }\n }\n console.log(sum);\n return sum;\n}\n\nmultiplesOf3and5(1000);"}

0 comments on commit c4964eb

Please sign in to comment.