0% found this document useful (0 votes)
8 views1 page

Sum of Series Algorithms & Flowcharts

The document provides algorithms and flowcharts for calculating the sum of two different series: the sum of the first N natural numbers and the sum of the first N positive odd integers. Each algorithm consists of a series of steps including input, iteration, and output. The structure of both algorithms is similar, with variations in the increment of the index variable I.

Uploaded by

dipa
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views1 page

Sum of Series Algorithms & Flowcharts

The document provides algorithms and flowcharts for calculating the sum of two different series: the sum of the first N natural numbers and the sum of the first N positive odd integers. Each algorithm consists of a series of steps including input, iteration, and output. The structure of both algorithms is similar, with variations in the increment of the index variable I.

Uploaded by

dipa
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Algorithm & Flowchart Manual

..

Algorithm & Flowchart to find sum of series 1+2+3+…..+N

Algorithm

Step-1 Start

Step-2 Input Value of N

Step-3 I = 1, SUM=0

Step-4 IF (I >N) THEN


GO TO Step-8
ENDIF
Step-5 SUM = SUM + I

Step-6 I=I+1

Step-7 Go to step-4

Step-8 Display value of SUM

Step-9 Stop

Algorithm & Flowchart to find sum of series 1+3+5+…..+N, Where N is positive


odd Integer
Algorithm

Algorithm

Step-1 Start

Step-2 Input Value of N

Step-3 I = 1, SUM=0

Step-4 IF (I >N) THEN


GO TO step 8
ENDIF
Step-5 SUM = SUM + I

Step-6 I=I+2

Step-7 Go to step-4

Step-8 Display value of SUM

Step-9 Stop

18 CIC-UHF

You might also like