#include <iostream>
using namespace std;
#define PI 3.1416
int main()
{
double r;
cin>>r;
cout<<"The area of the circle is "<<PI*r*r<<endl;
return 0;
}
Showing posts with label Constant. Show all posts
Showing posts with label Constant. Show all posts
Sunday, February 17, 2013
Using define in C++
Subscribe to:
Posts (Atom)