| Object Oriented Programming and Design with C++ | Dr. Aaron Naiman |
| Course #15001301 | <naiman@math.jct.ac.il> |
| Spring, 2006 | Office hours: Monday, 13:30-14:30 |
Add to your angle library, a member and global function
(each) for calculating the bisection of two angle objects
(as a new angle object).
Define a subclass for angles which are (only) in the
first quadrant. In case an object of this subclass goes out of range
(upon input, or through an argument or calculation), it is set to
0° or 90°, whichever is closer.
Note that you need to decide which functions require redefinition.
Again, have main() invoke (at least) all of the new
functions involved.