lab8b.c