(Is sorted?) Write the following function to check if the elements in the array are sorted.
template <typename T>bool isSorted(const T 1ist[], int size)Test the function with array of int , double , and string values.
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.