Define a function named reverse() that accepts an array of strings and display it in the reverse order. Example: Given the array: $a=array(“apple”,”orange”,”banana”,”kiwi”) The function must display:...



  1. Define a function named
    reverse()
    that accepts an array of strings and display it in the reverse order.



Example:


Given the array: $a=array(“apple”,”orange”,”banana”,”kiwi”)


The function must display:



kiwi banana  orange   apple


2. Create an array and call the function
reverse()



Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here