new file:   answer06.c