Question: 17. Complete the function isEqual that compares the elements in two vectors and returns true if all of the elements in both vectors match and

17. Complete the function isEqual that compares the elements in two vectors and returns true if all of the elements in both vectors match and false otherwise. If elements in two vectors does not match, then print the first element of both vectors that does not match. Assume the size of two vectors is same. v1 Output Example Case 1 Case 2 1241 63 2133 15 v2 12 41 63 21 54 25 Return value true false 33 54 bool isEqual (vector
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
