Update program4.c

Output fix 2.