Question: Write a program in C that prompts the user for information (radius, side, height, width, ...) about at least three geometry shapes. Possible geometry shapes:

Write a program in C that prompts the user for information (radius, side, height, width, ...) about at least three geometry shapes.

Possible geometry shapes: circle, ellipse, rectangle, square, equilateral triangle, right triangle, isosceles triangle, triangle, parallelogram, rhombus and trapezoid.

Use the information to:

- calculate the areas of these shapes;

- calculate the sum of the areas;

- calculate the average of the areas;

- calculate the perimeters of these shapes;

- calculate the sum of the perimeters; and

- calculate the average of the perimeters.

Show the results on screen, using formatted output.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!