complete problem3-21 solution (OK)