ChangeMakerapplP*cm(
codecodedataprefTalt Talt mtAIB tFRM
OtSTRtvery(< ?<NVHnHnHnNOJ@f( n?(/(?a(/././.NOp`<WNO4pN^NustartNV4H((M<0.@&HCB@.C(HDBAA|6RcBB@@f@gBAAB(6RcBB@@fB.|$l4"l0BBDBBCA0(6A@(6BA(6BA(6BA(6BA(6BA(6BA(6POc
ROcxL8 N^NudrawNV/"nBBBC f RI g`0@BBHA4ARI c.f>RI b.H0@r҈ ЁЁ@) b
H@@0dC&.N^NucentsSpin harder.< Pay up!< Free!NVH8(MJGdoG8GlG`C0lD@"nC-I0@H(HDW?aBB@.t"HAXOR.Jf.Okay 0HH01018DD82 z.FChangeMakerYou owe:D@#You have:D#1P#5\#10m#20~#50Even if you don't have exact change, you can still pay a friend accurately by paying with a certain probability. If you owe $2.50, for example, it is fair to flip a coin to decide whether to pay $5.
When you use this method consistently, on average it is equivalent to paying $2.50.
This program generalizes the idea to any amount. Enter the amount you owe in dollars and cents, then select the denomination of bill you have. The black area on the spinner will be adjusted to represent the probability you should pay.
Grab the spinner directly with the pen and give it a vigourous flick. When it stops, the decision to pay is determined by whether the point at the right edge of the spinner is black or white.1.0