Update exercise 5.7.c

answer from reference book.