lab4a.c