Write a function called Sum that calculates and returns the sum of all numbers from 1 through the int passed to the function.
Note, Sum(1) is 1 and Sum(2) is 3 and Sum(3) is 6
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment