pgm-003 assignment 7 solution