Lab assignment SEVEN from Programming for Engineers II in C