0% found this document useful (0 votes)
3 views2 pages

flowchart-algorithm-1)

This manual is designed for students at Dr. Y. S. Parmar University to learn about algorithms and flowcharts as essential tools for programming. It emphasizes the importance of pre-planning and provides step-by-step algorithms and flowcharts for solving problems, including examples for calculating sums of series. The manual also utilizes the software ClickCharts for creating flowcharts.

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)
3 views2 pages

flowchart-algorithm-1)

This manual is designed for students at Dr. Y. S. Parmar University to learn about algorithms and flowcharts as essential tools for programming. It emphasizes the importance of pre-planning and provides step-by-step algorithms and flowcharts for solving problems, including examples for calculating sums of series. The manual also utilizes the software ClickCharts for creating flowcharts.

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
You are on page 1/ 2

Algorithm & Flowchart Manual

PREFACE

This document has been prepared for students at Dr. Y. S. Parmar University of Horticulture
& Forestry, Nauni, Solan (HP) India. Software Engineer uses various programming
languages to create programs. Before writing a program, first needs to find a procedure for
solving the problem. The program written without proper pre-planning has higher chances of
errors.

Algorithm and flowchart are the powerful tools for learning programming. An algorithm is a
step-by-step analysis of the process, while a flowchart explains the steps of a program in a
graphical way. Algorithm and flowcharts helps to clarify all the steps for solving the problem.
For beginners, it is always recommended to first write algorithm and draw flowchart for
solving a problem and then only write the program.

Beginners find it difficult to write algorithm and draw flowchart. The algorithm can vary from
person to person to solve a particular problem. The manual will be useful for the students to
learn algorithm and flowchart. It includes basics of algorithm and flowchart along with
number of examples. Software ClickCharts by NCH (unlicensed version) has been used to
draw all the flowcharts in the manual.

2 CIC-UHF
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