algorithm-flowchart-class-5_6
algorithm-flowchart-class-5_6
8 9
7. 8.Accept 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