> Mark Wieder > > In any of the submitted examples, replacing the string > "50,20,10,5,2,1" with "40,30,10,4,3,1" does the right string. No more > challenging than the original question. > > And yes, the minimum number of coins to represent 6 in this case is > 3+3 and the next in line would be 4+1+1. And then six coins.
Yes, and the examples so far would render 6 as 4+1+1, not 3+3, which is the wrong answer. -- Ciao, Paul D. DeRocco Paul mailto:pdero...@ix.netcom.com _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode