Driver code
static void Main ( ) { int [ ] arr1 = { 1 , 2 , 2 } ; Console . Write ( offeringNumber ( 3 , arr1 ) + " STRNEWLINE " ) ; int [ ] arr2 = { 1 , 4 , 3 , 6 , 2 , 1 } ; Console . Write ( offeringNumber ( 6 , arr2 ) + " STRNEWLINE " ) ; } }