summation of a set of numbers

Summation of a set of numbers


Problem Definition: Summation of a set of numbers.

Problem Analysis: Given a list of ‘n’ numbers, the algorithm should add up the ‘n’ numbers to find the sum of these values.

Solving by Example: Consider a list of 5 numbers.

The algorithm takes these numbers as input and should produce the output as 47.


Algorithm Definition



Qus. 1 : For calculating the summation of N numbers, the minimum number of decision boxes required is:

  1. 0
  2. 1
  3. 2
  4. N

Programs

Latest Current Affairs 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad