Menu

(Solved) : Using Algorithm Information Program Calculator Area Circumference Circle Answer C Language Q44010037 . . .

Using the algorithm information below, program a calculator forthe area and circumference of a circle. Answer in CLANGUAGE !!

Algorithm for Area and Circumference of a Circle:

Inputs:
– radius of the circle

Outputs:
– the area of the circle
– the circumference of the circle

Relevant Constants and Formulas:
– area of a circle = PI x Radius x Radius
– circumference of a circle = 2 x PI X Radius

Main Algorithm (numbered steps)

1. Input the circle radius

2. Calculate the area
2.1 (Refinement) Assign the results of PI * radius * radius to avariable representing area

3. Calculate the circumference
3.1 (Refinement) Assign the results of 2 * PI * radius to avariable representing circumference

4. Display the results to the user

Expert Answer


Answer to Using the algorithm information below, program a calculator for the area and circumference of a circle. Answer in C LANG…

OR