Page 96 - Learn to Program - Basic-256
P. 96
Chapter 7: Decisions, Decisions, Decisions. Page 80
Start
get your age
get friend's age
no your age yes
less than
friend's age
print that you are younger
no your age yes
equals
friend's age
print that you are the same age
no your age yes
greater than
friend's age
print that you are older
Finish
Illustration 16: Compare Two Ages - Flowchart
if condition then statement
If the condition evaluates to true then execute the statement
following the then clause.
© 2019 James M. Reneau (CC BY-NC-SA 3.0 US)

