Now how would you do it if the available coin values were:

        40,30,10,4,3,1

That's a more interesting problem, but probably a less interesting coding
test, because I think it would involve a more brute force approach, less
elegance.

-- 

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

Reply via email to