CS U216 -- Algorithms and Data Structures for Engineers

Assignment 4

Due 1 June, 2005

Assignment 4 involves writing functions that may be used in modelling a simple electronic arithmetic circuit. In this assignment, C++ values of type bool will be used extensively. The bool value true should be considered equivalent to the mathematical number 1, and the bool value false should be considered equivalent to the mathematical number 0. Your program must contain the following items: