answersLogoWhite

0


Best Answer

You don't have to reduce the steps.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you reduce the steps for sum of n numbers?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you get the sum of consecutive cubed numbers?

The sum of the first n cubed numbers is: [n*(n+1)/2]2 which is the same as the square of the sum of the first n numbers.


How do you find the average of n numbers?

The average of n numbers = (sum of n numbers) / (count of n numbers).


What is the c plus plus program for printing sum to n natural numbers?

main() { int i, n, sum=0; cout<<"Enter the limit"; cin>>n; for(i=0;i<=n;i++) sum=sum+i; cout<<"sum of "<<n<<" natural numbers ="<<sum; getch(); }


Find the mean of n natural numbers?

Mean = (sum of the n numbers)/n


How do you calculate the sum of all numbers from 1 through 61?

The sum of the first "n" numbers is equal to n(n+1)/2.


What 2 numbers sum is 832?

i need 2 numbers whose sum is 832AnswerThe numbers are n and (832 - n) where n is any number from 0 to 416.


What is formula to find sum of n even numbers?

There is no formula that will sum n even numbers without further qualifications: for example, n even numbers in a sequence.


What is the Sum of first n natural numbers?

int sum = 0; int i; for(i = 0; i < n; ++i) { sum += i; }


Algorithm to find the sum of even numbers between 1 to 10?

sum = 0 for(n = 0; n <= 10; n += 2) sum += n;


C program to find sum of n number using for loop?

#include<stdio.h> void main() { long long int sum=0,n,i,b; printf("How many numbers do you want to add?\n"); scanf("%lld",&n); printf("Enter those %lld numbers\n",n); for(i=0;i<n;i++) { scanf("%lld",&b); sum=sum+b; } printf("Sum of all the numbers you entered is %lld",sum); getch(); }


Program to find sum of n numbers using recursion function?

int sum(n) { if (n==0) return 0; else return n+sum(n-1); }


What is the sum of the numbers from 1 to 100?

Sum of first n natural numbers is (n) x (n + 1)/2 Here we have the sum = 100 x (101)/2 = 50 x 101 = 5050