CO311: Introduction to Modern Programming II

Lab Practical #10: April 10, 2000

Please read the entire problem before jumping into the code!

Using the in-class examples and practice test as a guide, create a class called Compass with the following characteristics:

Write a driver program to test all the permutations of your class, as you did in the practice test. Your class definition, implementation and driver program should all be in appropriately named, separate files. Submit your copies to the FTP site in a separate folder/directory named P10.

Submissions to the FTP site that are NOT saved in the separate P10 directory will be automatically docked 10 points for failing to follow instructions.