Page 89 - 2611_SmartGPT Pro V(5.0) C-5
P. 89
FINDING THE SMALLER NUMBER BETWEEN TWO NUMBERS
There comes a situation where we need to make a decision based on certain conditions.
Start
Read Num1 and Num2
Is
Yes Num1 No
<Num2?
Print "Num1 Print "Num2
is less than is less
Num2" than Num1"
Stop
DISPLAYING A SERIES OF NUMBERS FROM 1 TO 10
A loop is a sequence of steps that is repeated a number of times. In a flowchart, one or
more instructions can be repeated until a specific condition is met.
Start
Read A = 1
Is No
A<=10?
Yes
Print A
Stop
A = A + 1
Algorithm, Flowchart and Mind Maps 87

