answer02.c partially answered