Lab 10 - Adding Operators to Classes

The purpose of this lab is to define operators for a given class.

Look at the score.cpp file that contains the Score class. You can copy it over to your current directory using:

wget http://www.cs.csubak.edu/~melissa/cs221/score.cpp
This class has a converstion constructor and basic member functions defined, but no default constructor or input/output operators are defined. Until the operators are defined, the code will not compile because main() is using the operators. You will need to define the following operators: