Driver code
int main ( ) { int Point [ ] = { 2 , 10 , 3 , 1 , 5 , 8 } ; int Upvote [ ] = { 5 , 4 , 3 , 9 , 7 , 2 } ; int N = sizeof ( Point ) / sizeof ( Point [ 0 ] ) ; int K = 2 ; cout << " Maximum ▁ Rating ▁ of ▁ Coding ▁ Contest ▁ is : ▁ " << FindMaxRating ( N , Point , Upvote , K ) ; return 0 ; }