Showing posts with label Area of the Circle Solver Pseudocode. Show all posts
Showing posts with label Area of the Circle Solver Pseudocode. Show all posts

Thursday, October 10, 2019

Area of the Circle Solver Pseudocode, Algorithms, and Flowchart

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



Flowchart of Area of the Circle Solver