Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^4: (Golf) Giving Change

by tadman (Prior)
on Jun 12, 2001 at 05:26 UTC ( #87703=note: print w/ replies, xml ) Need Help??


in reply to Re: Re^2: (Golf) Giving Change
in thread (Golf) Giving Change

The explanation from the land of Frobozz certainly clears up what you were getting at. I would posit, though, that most countries, unlike Frobozz, have designed their currency structure along some sort of logic which would limit this possiblity.

Humans regularily give change from a machine displaying only a single total, without benefit of a breakdown, moving from one bin to the next, trying to make a good total. There is little "wiggle room" in a fully stocked register. It is only when they start to run out of things that it gets interesting.

I, for one, would not want to design a Frobozzian register which had to explain how to give change.

The absence of a "penny" placeholder would cause a little havoc with change dispensing from a mechanical perspective, as you pointed out with your $0.30 example, which would be rendered impractical.


Comment on Re^4: (Golf) Giving Change

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://87703]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (11)
As of 2014-07-23 08:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (136 votes), past polls