#include <iostream>
usingnamespace std;
int main()
{
constdouble pi = 3.14;
double radius, area, circumference;
cout << "please input radius : ";
cin >> radius;
cout << endl;
circumference = 2 * pi * radius;
area = pi * radius * radius;
cout << "area : " << area << endl;
cout << "circumference : " << circumference << endl;
cin.ignore( 1000, '\n' ) ; // extract and discard the new line charecter remaining in the input buffer
cin.get(); // keep the console open till user presses enter
// return 0; // this is not required; there is an implicit return 0 at the end of main
}