Update program4.c

Ouput Fix