Uncategorized

use procedural language for this code

The first number is the target value and the reminder of the numbers (however many there may be) is the set of numbers you have to pick from. The program should either output a subset whose sum equals the target or “No combination matches” if no such subset exists. 
For example, the following inputs should yield the following results:
SubsetSum 15 1 2 3 5 7 10
{3,7,5}
SubsetSum 9 1 2 3 5 7 10
{2,7}
SubsetSum 100 1 2 3 5 7 10
No combination matches