Driver code
$ n = 6 ; $ a = array ( 2 , 4 , 5 , 9 , 1 , 8 ) ; $ odd_sum_pairs = count_odd_pair ( $ n , $ a ) ; $ even_sum_pairs = count_even_pair ( $ odd_sum_pairs , $ n ) ; echo " Even ▁ Sum ▁ Pairs ▁ = ▁ $ even _ sum _ pairs ▁ STRNEWLINE " ; echo " Odd ▁ Sum ▁ Pairs = ▁ $ odd _ sum _ pairs ▁ STRNEWLINE " ; ? >