CIS 254 – Data Structures Klinger
Do: Chapter 2, Problem # 1
The problem is due in two weeks.
You are to create a class for the lock. You also need a driver program that takes user input and manipulates a lock object and prints output.
Deliverables:
1. source code for the lock class and driver
2. test output
As always, bring your code with you to class.