帮忙解决问题
#include<iostream>#include<conio>
using namespace std;
class Price
{
public:
float rm;
Price()
{
}
Price(float r)
{
rm=r;
}
Price operator + (Price);
void accept()
{
cout<<"\nEnter price:RM ";
cin>>rm;
}
void display()
{
cout<<"\n";
cout<<"Price:RM "<<rm;
cout<<"\n";
}
void total()
{
cout<<"\n";
cout<<"Total price:RM "<<rm;
cout<<"\n";
}
};