new file:   exercise12.c