Computers and Technology
#include using namespace std;const int SIZE = 4;bool isSorted(const int arr[], int size);bool isNonDecreasing(const int arr[], int size);bool isNonIncreasing(const int arr[], int size);void printArr(const int arr[], int size);int main(){int test1[] = { 4, 7, 10, 69 };int test2[] = { 10, 9, 7, 3 };int test3[] = { 19, 12, 23, 7 };int test4[] = { 5, 5, 5, 5 }; if (!isSorted(test1, SIZE))cout