Professional Documents
Culture Documents
Flowcharts
Flowcharts
Sum=num1+num2
Output
Sum
Stop
Input
F
CC=.5556*F-32
Output
C
End
pi=3.1416
A=pi*r*r
End
Draw a flowchart that will read two numbers the compute and
print for their difference and product
End I: num1, num2
O: D, P
P: D = num1- num2 P=num1*num2
Begin
num1,
num2
D=num1-num2
P=num1*num2
D,P
End
num1,
num2
First
Yes number is
num1>num2? greater than
the second
No number
Second
Begin
number is
greater than
the first
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
number
A
No
End
“Odd”
A
Draw a flowchart that will determine the if the difference of
two numbers is positive, negative, or zero.
I: n1,n2 Begin
<0 >0
“Negative” D? “Positive”
=0
A A
“Zero”
End
Draw a flowchart that will give remark based on the age of a
child
Age Remark
<1 Baby
1 to 4 Toddler
5 to 12 Kid
13 to 19 Teenager
>=20 Approaching Adulthood
Begin
Age
Yes
Age<1 “Baby”
No
B
Yes
“Toddler” Age>=1 & Age <=4
B No
Yes
“Kid” Age>=5 & Age <=12
B
No
Yes
“Teenager” Age>=13 & Age <=19
B
No
A
A
“Approaching Adulthood”
End