(Pattern recognition: consecutive four equal numbers) Write the following function that tests whether the array has four consecutive numbers with the same value.
bool isConsecutiveFour(const int va1ues[], int size)
Write a test program that prompts the user to enter a series of integers and displays if the series contains four consecutive numbers with the same value. Your program should first prompt the user to enter the input size—i.e., the number of values in the series. Assume the maximum number of values is 80. Here are sample runs:


We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.