Sunday, February 26, 2012
Program #2...Success!
After meeting up yesterday, me and my partner thought hard about this assignment and how we were going to complete it. We planned to incorporate an ArrayList that contains the elements for the match array and an ArrayList that contains all the differences generated by putting the pattern array against the data array. To determine these elements for the ArrayLists we used several for loops. After about two hours of hard work and drawing out the problem, we got out program to work correctly and after using our test cases to test the program it worked perfectly every time! We knew going into this that there would be no easy way to complete the program, so we broke the program down into easier steps and that strategy ensured success in writing the program.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment