#include <iostream.h>
class test
{
double x;
double y;
public:
test(double a,double b);
test(double A);
};
test::test(double a,double b)
{
x=a+b;
y=a*b;
}
test::test(double A )
{
cout<<"the number is:";
}
void main()
{
double x;
double y;
double a;
double b;
test (2.0,3.0);
test y(double A,double B);
cout<<"请输入两个数:";
cin>>a>>b;
x=a+b;
y=a*b;
cout<<"这两个数的和"<<endl;
cout<<"这两个数的积"<<endl;
return 0;
}