CIS 174                                                        LAB ASSIGNMENT  #7
Assigned date: Tuesday 3/11
Due date: Tuesday 3/18
20 points

Lab 7.1 [ 10 points]

In the Picture class, write a method that will copy all of the passed source picture into the current picture object starting with the left corner given by
xStart, yStart. You are required solve the problem by using two different approaches:

  1. Loop through the columns first
  2. Loop through the rows first

Method declaration:
public void copyPictureTo(Picture sourcePicture, int xStart, int yStart)

Lab 7.2  [10 points]

Do problem 5.9  on page 171.