lab5.c