You are on page 1of 1

[M12_CSQ1] Write a problem analysis chart (PAC), Algorithm, and flowchart to

calculate the age of a housefly in seconds, given the number of days the housefly
lived. [CO1] [L1]

PAC
DATA PROCESSING OUTPUT
age_in_days age_in_sec = age_in_days * age_in_sec
24 * 60 * 60

ALGORITHM
START
STEP 1: READ age_in_days
STEP 2: calculate age_in_sec using the formaula :
age_in_sec = age_in_days * 24 * 60 * 60
STEP 3: DISPLAY age_in_sec
STOP

FLOWCHART

You might also like