text: Driver code
code: public static void Main ( String [ ] args ) { int [ ] elements = { 6 , 2 , 5 } ; int sum = 7 ; if ( isPossible ( elements , sum ) ) Console . Write ( " YES " ) ; else Console . Write ( " NO " ) ; } }