note
Old_Gray_Bear
<p> You are looking for the disjunction between the set of all lockers and the set of rented lockers. So, in pseudo code is one way:
<ul>
<li>I have an array of lockers, 1 .. 24, initialized to zeroes
<li>I have a database containing information
<li>Loop: Read a Record from the DB
<li>If the locker-id is present, set the value in my locker-array to 1.
<li>Go to Loop: until you exhaust the DB.
<li> scan the locker-array, if the value of the i-th element is 0, print the index (i).
<li>Turn the result into your Teacher, you have completed the assignment in a FORTRANly fashion.
</ul>
<p>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-290905">
<p>
----<br>
I Go Back to Sleep, Now.
<p>
OGB
</div></div>
1161138
1161138