update exercise9.c