Computer Programming Fundamental
Computer Programming Fundamental
( IT 325)
BSEnE -3A
PADEN, KAYE O.
JUNE 3, 2024
TABLE OF CONTENTS
RATIONALE ……………………………………. I
ALGORITHM ………………………………......... II
FLOWCHART …………………………………… IV
Steps:
1. Start
2. Input: Read the radius r of the circle
3. Process: Calculate the area using the formula Area = π x r²
4. Output: Display the area of the circle
5. End
Detailed Algorithm
Tittle: ALGORITHM
1. Start
2. Input:
- Read the radius r of the circle
3. Process:
- Calculate the area using the formula:
- Area = π x r²
4. Output:
- Display the area of the circle
5. End
Flowchart
Title: PSEUDOCODE
Pseudocode Steps:
1. START
2. Input: radius r
3. Process: Calculate area using the formula Area = π x r²
4. Output: the area
5. END
Detailed Pseudocode
Title: PSEUDOCODE
1. START
2. Input: radius r
3. Process:
- Calculate area using the formula:
- Area = π x r²
4. Output: the area
5. END
Pseudocode:
Begin
Initialize mass (m), volume (v), density
Read mass (m), volume (v)
Compute density as density = mass(m)/volume (v)
Write density
End
Source Code
Sample Output