exercise 2.2c

exercise 2.2c