Write a PHP program to check a given array of integers of length 1 or more and return true if 10 appears as either first or last element in the given array
Write a PHP program to check a given array of integers of length 1 or more and return true if 10 appears as either first or last element in the given array.
Sample Output:
need an explanation for this answer? contact us directly to get an explanation for this answer