lab9b.c