Program 15.17
Program 15.18