If the first two elements of the array are in increasing order and the last two elements of the array are in decreasing order
else if ( arr [ 0 ] <= arr [ 1 ] && arr [ n - 2 ] >= arr [ n - 1 ] ) cout << " Increasing ▁ then ▁ decreasing " ;