Skip to content

draity/sum-all-dojo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeKata: Sum All Numbers in a Range

We'll pass you two numbers. Return the sum of those two numbers and all numbers between them. The lowest number will not always come first.

  • sumAll(1, 4) should return a number.
  • sumAll(1, 4) should return 10.
  • sumAll(4, 1) should return 10.
  • sumAll(5, 10) should return 45.
  • sumAll(10, 5) should return 45.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published