Update program6.c

Output update...