/Gauss_Calculator

A calculator that figures out the result of adding every number from x to y

Primary LanguageC++

Gauss Calculator

A calculator that figures out the result of adding every number from x to y

For example, if you start at 0 and end at 100, you will get 5,050 (1 + 2 + 3...+ 98 + 99 + 100 = 5,050).

It works with any range of numbers, where the first number is less than the second number.