Yes, but the problem didn't say I had to read to the problem specifically. :)
On Tue, Oct 1, 2013 at 10:30 AM, Lonnie Olson <[email protected]> wrote: > On Tue, Oct 1, 2013 at 10:28 AM, Steve Meyers <[email protected]> wrote: > > On 10/1/13 10:24 AM, Adam Stevenson wrote: > >> > >> $bills = array(100, 50, 10, 5, 1, 0.50, 0.25, 0.05, 0.01); // Sorted > > > > > > You forgot $20 bills, and $2 bills for that matter. > > Yes, but the problem stated specifically to not specify any upper > limit on bill size. Also this constraint seems to indicate that it is > not necessarily using standard US denominations. > > /* > PLUG: http://plug.org, #utah on irc.freenode.net > Unsubscribe: http://plug.org/mailman/options/plug > Don't fear the penguin. > */ > /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
