C programing|Exercise 1 - 8