Driver Code
public static void Main ( String [ ] args ) { int n = 5 ; int [ ] a = { 1 , 5 , 3 , 7 , 4 } ; int sum = 12 ; if ( subsetSum ( a , n , sum ) != 0 ) { Console . Write ( " YES STRNEWLINE " ) ; } else Console . Write ( " NO STRNEWLINE " ) ; } }