Professional Documents
Culture Documents
Course Title Course Code Lab Work No Learning Objectives: If Statement
Course Title Course Code Lab Work No Learning Objectives: If Statement
COURSE CODE
ICT1101
LAB WORK NO
LEARNING OBJECTIVES
Introduce to students Decision Logic Structure.
LEARNING OUTCOME
Students should able to prepare the tools: PAC, Structure Chart, IPO Chart, algorithm and
flowchart for single IF-THEN and IF-THEN-ELSE instruction.
You should present your solution in PAC, Structure Chart, IPO Chart, algorithm, flowchart, data
dictionary and C++ coding for the following exercises.
Save it as Week6Tutorial_1.cpp
Exercise 1
Design a program that will advise the society based on Air Pollution Index (API) reading. This
program should accept the reading from the user. Then it will indicate the user; the current
reading from their input.
(i)
API reading
Indication
API < 50