1.
Algorithm & Flowchart to find the sum of two numbers
2. Algorithm & Flowchart to find Area and
Perimeter of Square
Algorithm
Algorithm
Step-1 Start
Step-1 Start
Step-2 Input first numbers say A
Step-2 Input Side Length of Square say L
Step-3 Input second number say B
Step-3 Area = L x L
Step-4 SUM = A + B
Step-4 PERIMETER = 4 x L
Step-5 Display SUM
Step-5 Display AREA, PERIMETER
Step-6 Stop Step-6 Stop
8 9
7. [Link] the age of a person. Display the message Eligible for Role if the age
Algorithm & Flowchart to find the smallest of two numbers is equal to or greater than 18, otherwise display the message Not Eligible.
Algorithm
Step-1 Start
Step-2 Input two numbers say NUM1,NUM2
Step-3 IF NUM1 < NUM2 THEN
print smallest is NUM1
ELSE
print smallest is NUM2
ENDIF
Step-4 Stop
14 15