Follow along with the video below to see how to install our site as a web app on your home screen.
Note: this_feature_currently_requires_accessing_site_using_safari
class Term
{
public:
void setCoefficient(int x) { coefficient = x; };
void setExponent(int x) { exponent = x; } ;
int getCoefficient( ) { return coefficient; };
int getExponent( ) { return exponent; };
Term( ) { coefficient = 0; exponent = 0; };
Term(int x, int y) { coefficient = x; exponent = y; };
Term& operator=(Term& rtSide);
private:
int coefficient;
int exponent;
};
Term& Term::operator=(Term& rtSide)
{
coefficient = rtSide.coefficient;
exponent = rtSide.exponent;
return *this;
}