Lab assignment FOUR from Programming for Engineers I in C