Driver code
public static void Main ( ) { int n = 6 ; int [ ] a = { 2 , 4 , 5 , 9 , 1 , 8 } ; int odd_sum_pairs = count_odd_pair ( n , a ) ; int even_sum_pairs = count_even_pair ( odd_sum_pairs , n ) ; Console . WriteLine ( " Even ▁ Sum ▁ Pairs ▁ = ▁ " + even_sum_pairs ) ; Console . WriteLine ( " Odd ▁ Sum ▁ Pairs = ▁ " + odd_sum_pairs ) ; } }