A set of natural numbers is given. Generate all the subsets of this set joined by alternating +and operators which
sum up to exactly S. .
I/O description. Input: enumeration of elements in the set, on one line, then sum on one line e.g.
1 3 5 7 2 6
0
Output: enumeration of elements resulting in the given sum, e.g.
13+2
1+36
57+2
1+56
First i have to read from the file the first line`s elements, could enyone help me?
