#include <iostream>
using namespace std;
class Area {
public:
void Circle (int radius)
{
float result = 3.14*radius*radius;
cout <<"area of circle is "<<result<<endl;
}
void Circle (int radius,float pie)
{
float result = 2*pie*radius;
cout<<"circumference of circle is "<<result<<endl;
}
};
int main(){
std::cout << "Hello world" << std::endl;
Area c1 ;
// Area c2 (45,5);
return 0;
}
To embed this program on your website, copy the following code and paste it into your website's HTML: