哪里出错了,请帮忙看看!!!
#include<iostream.h>#define p 3.14
class Circle
{
public:
Circle(float r);
float Circumference();
float Area();
private:
float radius;
};
Circle::Circle(float r)
{
radius=r;
}
float Circle::Circumference()
{
return 2*p*radius;
}
float Circle::Area()
{
return p*radius*radius;
}
int main()
{
float radius;
float Circumference,Area;
cin>>radius;
cout<<Circumference()<<Area()<<endl;
}
哪里错了,该怎么改啊