#include <iostream>
#include <cstdlib>
#include <cmath>
#define pi 3.1415926
using namespace std ;
int main ()
{ double a, area, perimeter;
cin >> a;
area=a*a*pi ;
perimeter=2*a*pi ;
cout << area << endl;
cout << perimeter << endl;
system ("pause");
return 0 ;
}
|