#include<stdio.h> #define PI 3.1415927 main() { double r,m,s; printf("Please input r:"); scanf("r=%lf",&r); m=2*PI*r; s=PI*r*r; printf("%lf,%lf",m,s); }