Create Exercise7_8.c

Exercise 7_8 from Kernigan and Ritchie C