Professional Documents
Culture Documents
Group Members:
Ma. Nathalia Yee
Raniel Edmark Son Tasani
Josh Emmanuel Velarde
John Lyn Villarin
Angelo Torregoza
Mark Tudoc
FLOWCHARTING (SEQUENCE)
INSTRUCTION: Create a program plan, an algorithm, and draw a flowchart that uses a sequence structure, that would
accept a radius of a circle and computes its area, circumference, and diameter. Use constant declaration.
area = pi * radius2
circumference = 2 * pi * radius
diameter = 2 * radius
PROGRAM PLAN
Required Output area
circumference
diameter
ALGORITHM
1. The value of pi is 3.14.
2. Get the radius of the circle.
3. Find the area of the circle using the formula: area = pi * radius2.
4. Find the circumference of the circle using the formula: circumference = 2 * pi * radius.
5. Find the diameter of the circle using the formula: diameter = 2 * radius.
6. Compute the area, circumference, and diameter of the circle.
FLOWCHART
START
READ pi
Find the:
area = pi * radius2
circumference = 2 * pi * radius
diameter = 2 * radius
END
This is a watermark for trial version, register to get full one!
VIP Benefits:
Remove it Now