It101 Week
It101 Week
It101 Week
27, 2021
LABORATORY EXERCISE:
1. Draw a flowchart that will check if the number is above 100. Print “Strong” if true, print “Weak”
if false. Use the if else statement.
START tR
Int number
Input a
number
Print Print
“Strong” “Weak”
END
2. Draw a flowchart that will check if a person is a teen (13-19). Print “Teen” if true, “Note Teen” if false.
START tR
Int age
Input age
Age 13>=19
TRUE FALSE
Print
Print
“Teen”
“Not Teen”
END
PERSONAL ACTIVITY:
START tR
Int number
Input a
Number
If Number
YES %2==0 NO
Print N is Print N is
“EVEN” “ODD”
END
START tR
Int Year
Input Year
Print
Print
“It is a Leap year”
“It is not a Leap year”
END