Answer to Question #262956 in Algorithms for Alunsina

Question #262956

Create a program plan, an algorithm, and draw a flowchart that uses 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

1
Expert's answer
2021-11-12T05:06:46-0500


Program Plan
1. Declare variables
2. Read input data
3. Create sequence structure
4. Display result




Algorithm:


Start
    Declare variables radius, area, circumference, diameter
    Declare constant pi= 3.14159265359
    Read radius
    Set area = pi * radius * radius
    Set circumference = 2 * pi * radius
    Set diameter = 2 * radius
    Display area
    Display circumference 
    Display diameter 
Stop




Flowchart






Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS