FLOWCHART
FLOWCHART
Step 1: Start
Step 2: Read length, breadth
Step 3: area length * breadth
Step 4: Compute ‘perimeter’
Step 5: Perimeter2*(length+breadth)
Step 6: Display area, perimeter
Step 7: stop
Ex 2. Algorithm and Flowchart to Input 3 numbers and print the biggest number.
Step 1: start
Step 2: input a,b,c
Step 3: if a>b
bigaba
else
bigabb
end if
Step 4: if c>bigab
display c
else
display bigab
end if
Step 5: stop
Advantages of the Flow Chart
The flowchart is a good way of conveying the logic of the system.
Facilitates the analysis of the problem.
Provides a proper documentation.
Easy identification of the errors and bugs.
It directs the program development.
Maintenance of the program becomes easy.
Basic Includes sequence of steps which depicts the An information diagram made up of
procedure of the solution. different shapes shows the data flow.
Note:
1. Need for writing algorithm and flow charts
Effective communication
Effective analysis
Effective coding
Effective debugging
Easy maintenance
Proper documentation