Computer Program Engineering
Computer Program Engineering
Three types
Basic
Oval Denotes the beginning or end of the program
PRINT PRINT
“PASS” “FAIL”
STOP
Exercise
Write an algorithm and draw a flowchart to convert the
length in feet to centimeter.
Pseudocode:
Input the length in feet (Lft)
Calculate the length in cm (Lcm) by multiplying LFT with
30
Print length in cm (LCM)
Example 2
Algorithm Flowchart
Step 1: Input Lft
Step 2: Lcm Lft x 30 START
Lcm Lft x 30
Print
Lcm
STOP
Qualities of Good Program