Question: in c++ please 4. Define and test the function isSequence, which check if the array consists of a sequence of 3 values or not. For
4. Define and test the function isSequence, which check if the array consists of a sequence of 3 values or not. For example (2,4,6,2,4,6,2,4,6). Assume that the size of array is always even. ( 15 points) bool isSequence (int arr[], int size) For example: Array (1,2,3,3,2,1,3,2,1) should return False Array (1,2,3,1,2,3,1,2,3) should return True
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
