# Category Archives: Algorithms

## Functions that are nice to program

1. Write a function that adds up the whole numbers from 1 to n. For example the sum form 1 to 10 is 55. The formula , developed by Carl F. Gauss, is SumN(n)= n(n+1)/2 2. The area and volume … Continue reading

Posted in Algorithms
Comments Off