CS2322

Laboratory Problem 33

Object Oriented Programming

Define a procedure double-box-maker that takes two arguments, item1 and item2 and stores these values in two boxes, the left and right, respectively. An instance of double-box-maker should respond to the following messages: show-left , show-right, update-left!, update-right! and reset!.

Lab 33 Scheme Code