#include <iostream>
#include <conio>
namespace geo
{
const double pi=3.14159;
double circumf(double radius)
{
return 2*pi*radius;
}
}
void main()
{
using namespace geo;
double d=circumf(10.2);
cout<<d<<endl;
getch();
}
#include <conio>
namespace geo
{
const double pi=3.14159;
double circumf(double radius)
{
return 2*pi*radius;
}
}
void main()
{
using namespace geo;
double d=circumf(10.2);
cout<<d<<endl;
getch();
}
0 comments:
Post a Comment