re: Project Euler #1 - Multiples of 3 and 5 VIEW POST

FULL DISCUSSION
 
let sum=0;
let start=999;

 while(start){
    if(start % 3 === 0 || start % 5===0){
       sum +=start;
    }  
   start--;  
 }

console.log(sum);
code of conduct - report abuse