/* Write a program to compute the circumference and area of a circle with a given user-input radius*/
#include
#include
int main(void) {
printf("This program will calculate the circumference and area of a circle from it's radius.\n");
double radius;
printf("Please enter a radius: ");
scanf("%lf", &radius);
double circumference = 2 * M_PI * radius;
printf("The circumference of a circle with the radius of %lf is: %lf\n", radius, circumference);
double area = M_PI * pow(radius, 2);
printf("The area of a circle with the radius of %lf is: %lf", radius, area);
return 0;
}