|
General Details
|
|
Scheme
|
|
Posted 108 Days Ago
|
|
164 Views
|
|
Received 0 Ratings
|
|
How many ways to make change
Description
This calculates the number of ways to make change for x dollars (using current Canadian coins).
Running this program yields that there are 242 different ways to change $1.00 CAD (292 if you're american and use half-cent coins)
If someone can better this code, I would be much obliged, as I'm still only learning Scheme and very new to it. Thanks.
Source Code
Comments
| Please login to post comments. |
More "Scheme" Source Codes By This Author
Recently Posted "Scheme" Source Codes
Recently Rated "Scheme" Source Codes
|