Driver program to test above functions
public static void Main ( ) { int [ ] arr = { 2 , 7 , 5 , 3 , 0 , 8 , 1 } ; int n = arr . Length ; Console . WriteLine ( " Given ▁ array ▁ is ▁ " ) ; printArray ( arr , n ) ; Console . WriteLine ( " Surpasser ▁ Count ▁ of " + " ▁ array ▁ is ▁ " ) ; findSurpasser ( arr , n ) ; } }