Update lab12.c