Update program3.c