Sample code for OOP lab 1 fixed for c89.