Programming Problem
Design and create pseudocode and flowchart that will ask the user to give the radius of the circle and then the program will compute the area of the circle and display the result on the screen.
Pseudocode
Start
Declare Real radius, area, pie
Assign pie = 3.1416
Output "Area of the Circle Solver"
Output "Give the radius of Circle :"
Input radius
Assign area = (pie * radius * radius)
Output "The Area of Circle is " & ToFixed(area,2) & "."
Output "End of Program"
Stop
Algorithm
step 1: Start
Step 2: Declare variables radius, area, pie
Step 3: Input Radius say radius
Step 4: area = (pie * radius * radius)
Step 5: Display area
Step 6: Stop
Design and create pseudocode and flowchart that will ask the user to give the radius of the circle and then the program will compute the area of the circle and display the result on the screen.
Pseudocode
Start
Declare Real radius, area, pie
Assign pie = 3.1416
Output "Area of the Circle Solver"
Output "Give the radius of Circle :"
Input radius
Assign area = (pie * radius * radius)
Output "The Area of Circle is " & ToFixed(area,2) & "."
Output "End of Program"
Stop
Algorithm
step 1: Start
Step 2: Declare variables radius, area, pie
Step 3: Input Radius say radius
Step 4: area = (pie * radius * radius)
Step 5: Display area
Step 6: Stop
Flowchart of Area of the Circle Solver
No comments:
Post a Comment