Homework 7 Solutions

Since we are deleting an array, use delete[], not delete