Driven Program
public static void main ( String [ ] args ) { int arr [ ] = { 100 , 56 , 5 , 6 , 102 , 58 , 101 , 57 , 7 , 103 , 59 } ; int n = arr . length ; System . out . println ( numofsubset ( arr , n ) ) ; } }