Driver code
public static void Main ( String [ ] args ) { int [ ] a = { 10 , 15 , 20 } ; int [ ] b = { 17 , 12 , 24 } ; int n = a . Length ; int k = 3 ; Console . WriteLine ( findMaxPairs ( a , b , n , k ) ) ; } }