Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2014-03-23 11:49:59

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,560

Random Coins

As promised: Random Coins

Ideas, suggestions, bug reports welcome.


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#2 2014-03-23 12:28:17

ShivamS
Member
Registered: 2011-02-07
Posts: 3,646

Re: Random Coins

It works very well! Very nice page to practice making change. Are you planning to make one allowing different combinations other then $1?

Last edited by ShivamS (2014-03-23 12:28:38)

Offline

#3 2014-03-23 15:00:54

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 95,935

Re: Random Coins

Hi MIF;

Working okay over here. Good work.


In mathematics, you don't understand things. You just get used to them.

If it ain't broke, fix it until it is.

Offline

#4 2014-03-23 20:54:53

bob bundy
Moderator
Registered: 2010-06-20
Posts: 7,016

Re: Random Coins

hi MIF,

Works well for me too.  smile

Bob


You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei

Offline

#5 2014-03-23 21:46:32

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,560

Re: Random Coins

What would be another good target apart from $1?

Also anyone get all the possible ways?


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#6 2014-03-23 21:49:05

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 95,935

Re: Random Coins

I wrote a small program that gets them all for any set of coins. Doing it the hard way? Nope!


In mathematics, you don't understand things. You just get used to them.

If it ain't broke, fix it until it is.

Offline

#7 2014-03-23 23:59:26

ganesh
Moderator
Registered: 2005-06-28
Posts: 16,977

Re: Random Coins

Hi MathsIsFun,

MathsIsFun wrote:

Also anyone get all the possible ways?

I don't think so!


Character is who you are when no one is looking.

Offline

Board footer

Powered by FluxBB