Give list of numbers to determine which combination gives you a given value
<p>Ok so my programming skills are really novice and super rusty but here is my issue.  I need a way to take a list of given numbers and add them together in all combinations to determine which combo equals a certain amount.  My wife works at pepsi and they have to do this by hand and she asked me to help her out.  i will be attempting this with c++ if possible.  Thanks guys.</p>

<p>P.S. Here is the info i was given incase it helps.
<a href="http://dl.dropbox.com/u/9609070/Photo/Pepsi.tiff" rel="nofollow">http://dl.dropbox.com/u/9609070/Photo/Pepsi.tiff</a></p>
