|
-
January 18th, 2005, 01:33 AM
#1
need help to write Code in C#
"enumerate all the ways of making change for X cents."
For example, if given 10 cents, the possibilities include:
10 pennies, 5 pennies and 1 nickel, 2 nickels, and 1 dime.
You can assume the allowable denominations are pennies,
nickels, dimes and quarters.
cents : number of cents that you should enumerate the
change possibilities for (for example, 82)
Above C# Code used should be non-recursive.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|