// 22.5HV2 Software Engineering II // Unit 3 Exercise 3 #include // needed for ostream and istream class Change { friend ostream& operator<<(ostream&, const Change&); friend istream& operator>>(istream&, Change&); public: Change(); Change(float); Change(int,int,int,int,int,int,int); Change& operator+=(const Change&); Change& operator-=(float); // bool operator<(const Change&); operator float() const; private: int pence() const; // NOTE private function int one_p, two_p, five_p, ten_p, twenty_p, fifty_p, pound; };