new file:   ex9_50.cc