Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2015-10-13 10:19 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (300 votes), past polls