You are on page 1of 2

NAME: DAYAGANON, DANIELA M. DATE OF SUBMISSION: SEP.

27, 2021

COURSE/YEAR/SET: BSCE 1-A SUBJECT CODE: IT101

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

number > 100


TRUE FALSE

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:

1. Draw a flowchart that will check whether a number is odd or even.

START tR

Int number

Input a
Number

If Number
YES %2==0 NO

Print N is Print N is
“EVEN” “ODD”

END

2. Draw a flowchart that will check if a Leap Year.

START tR

Int Year

Input Year

Is (year %4==0 AND


year % 100! =0) OR
(year %400==0)
NO YES

Print
Print
“It is a Leap year”
“It is not a Leap year”

END

You might also like