update ex5-6.c
add ex5-7.c