Driver Code
$ arr = array ( 1 , 2 , 3 , 4 , 5 ) ; echo findMean ( $ arr , 0 , 2 ) , " STRNEWLINE " ; echo findMean ( $ arr , 1 , 3 ) , " STRNEWLINE " ; echo findMean ( $ arr , 0 , 4 ) , " STRNEWLINE " ; ? >