Update program1.c

output fix