Question: C++ Write a recursive function named isDecreasing that takes as parameters an array of ints and the size of the array. It should return true
C++
Write a recursive function named isDecreasing that takes as parameters an array of ints and the size of the array. It should return true if the elements of the array are strictly decreasing (each element in the array is strictly less than the previous one), but return false otherwise. You can assume the array contains at least two elements. The file must be named: isDecreasing.cpp
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
