flowchart-algorithm(1)
flowchart-algorithm(1)
The language used to write algorithm is simple and similar to day-to-day life language. The
variable names are used to store the values. The value store in variable can change in the
solution steps. In addition some special symbols are used as below
HEIGHT 5
or
HEIGHT = 5
The symbol ‘=’ is used in most of the programming language as an assignment symbol, the
same has been used in all the algorithms and flowcharts in the manual.
The statement C = A + B means that add the value stored in variable A and variable B
then assign/store the value in variable C.
The statement R = R + 1 means that add I to the value stored in variable R and then
assign/store the new value in variable R, in other words increase the value of variable R by 1
Mathematical Operators:
Relational Operators
6 CIC-UHF
Algorithm & Flowchart Manual
..
Algorithm
Step-1 Start
Step-3 I = 1, SUM=0
Step-6 I=I+1
Step-7 Go to step-4
Step-9 Stop
Algorithm
Step-1 Start
Step-3 I = 1, SUM=0
Step-6 I=I+2
Step-7 Go to step-4
Step-9 Stop
18 CIC-UHF