Skip to content

draity/sum-all

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 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

sum all kata

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%