#include const double PI = 3.14159265; int main(void) { // initialize values double radius; scanf("%lf", &radius); // print answer printf("The perimeter is %.4lf, the area is %.4lf.\n", PI * radius * 2, PI * radius * radius); return 0; }