Write a function int Sum(int n); which will find the sum 1+2+3+...+n. Use it to find the sum of 1+2+...+100
How to write the function int SuperSum(int n); which finds the sum of...
Type: Posts; User: uno
Write a function int Sum(int n); which will find the sum 1+2+3+...+n. Use it to find the sum of 1+2+...+100
How to write the function int SuperSum(int n); which finds the sum of...
How to write the function int SuperSum(int n); which finds the sum of Sum(1)+Sum(2)+...+Sum(n) (question #1). Use it to find the sum of (1)+(1+2)+...+(1+2+3+4+5+6+7+8+9+10)??