2. Write a dynamic integer array class (you can use CMyArray as a starting point) that implements the following requirement:
• Condition (mArray1 == mArray2) should be satisfied if both arrays are of the same length and contents are equal. n
• Condition (mArray1 < mArray2) should be satisfied if array 1 has fewer elements than array 2 or, if they are the same size, if the sum of the contents of array 1 is less than that of array 2.
So do you have any code or are you going to pay someone to do your homework? If you aren't going to do either one of those, nobody here will do your homework for you.