new file:   answer10.c