Skip to content

Adhouma/Sum-3-and-5-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sum 3 and 5 challenge

/**
 * Create a for loop using a range of numbers from 1 to 1000 inclusive
 * Sum all the numbers that can be divided with both 3 and also 5
 * For those numbers that met the above conditions, print out the number
 * break out of the loop once you find 5 numbers that met the above conditions
 * After breaking out of the loop print the sum of the numbers.
 */

Releases

No releases published

Packages

No packages published

Languages