MIND MAP Algorithm
Input / Output : 1/5
Problem is to write a program that will read the radius of a circle. Calculate the area and then circumference of the circle. Print area and then its circumference.
( Area = π * Radius * Radius, Circumference = 2 *π * Radius
)
MIND MAP
►
INPUT
►
Purpose
►
Input Radius of a Circle from a user
►
Implementation
►
Input Radius
►
PROCESS
►
Purpose
►
Calculate Area and Circumference of the Circle
►
Implementation
►
Area
= π *
Radius
2
Circumference
= 2 * π *
Radius
►
OUTPUT
►
Purpose
►
Display Area and Circumference of the Circle
►
Implementation
►
Area
Circumference