Starting of Problem #3 of Problem Solving assignment