Diameter circumference and area of a circle write a program


Question: (Diameter, Circumference and Area of a Circle) Write a program that reads in the radius of a circle and prints the circle's diameter, circumference and area. Use the constant value 3.14159 for π. Perform each of these calculations inside the printf statement(s) and use the conversion specifier %f.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Diameter circumference and area of a circle write a program
Reference No:- TGS02403490

Now Priced at $10 (50% Discount)

Recommended (98%)

Rated (4.3/5)