7 8 9 10 11 Input number of elements of the array : 5 Target sum : A solution set is : 27 7 8 9 10 11 8 + 9 + 10 = 27 8 9 10 w3resource.com