Computing the number of coin combinations?

From: Gernot Pfanner (pfannerg_at_stud.uni-graz.at)
Date: 10/31/04


Date: Sun, 31 Oct 2004 17:18:41 +0100

Hello!

I want to solve the following problem with Fortran:

I want to compute the number of combinations for builing a concret amount of
money with coins, e.g. 5 Euros with 2/1/0.5/0.2/0.1/0.05/0.02/0.01 coins.

Is there a simple way to do that?

With thanks

Yours Gernot