answersLogoWhite

0


Best Answer

Yes, please do.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a algorithm to find sum of n integers?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write algorithm and draw flowchart to find the sum of even numbers?

jgfujtf


Write the algorithm and draw the flowchart to find Sum of N Prime number?

Shrek and Donkey


Writes a c program to find the sum of all integers between 1 and n?

Write a program to find the number and sum of all integers from 100 to 300 that are divisible by 11


Write algorithm compute sum of square of N numbers?

1. Design an algorithm to compute sum of the squares of n numbers?


Write an algorithm find out the sum of first n odd numbers?

Algorithm: sum_evenInput: an integer, n, such that n>0Output: the sum of all even integers within the open range (1:n)sum := 0val := 2while (val < n) do{sum := sum + valval := val + 2}return sumNote that you explicitly specified between 1 and n, which literally means both 1 and n should be excluded from the sum. 1 would be excluded anyway since it is not an even number, however if we wish to include n, then use the following algorithm instead:Algorithm: sum_evenInput: an integer, n, such that n>0Output: the sum of all even integers within the half-open range (1:n]sum := 0val := 2while (val


How do you find the sum of two integers with different signs?

-- write the difference between the integers without regard to their signs -- give the difference the same sign as the larger of the two integers


What is The sum of the squares of two consecutive positive even integers is 340 Find the integers?

The sum of the squares of two consecutive positive even integers is 340. Find the integers.


Find two consecutive integers that have a sum of -67?

The integers are -34 and -33.


If sum of two consecutive integers is 228 find the integers?

The sum of any two consecutive integers must be an odd number. So this question is incorrect.


What is the sum of three consecutive integers is 88?

Find 2 consecutive ODD integers whose sum is -88 ANSWER: -45, -43


The sum of all the integers between 50 to 350 which end in 1 is?

If you write down all of the integers between the two numbers, your sum is equivalent to 5,659.


Find the sum of odd integers divisible by 3?

The sum is infinitely large.