MAJOR HELPP NEEDED

gracierox77

New member
Joined
Sep 16, 2005
Messages
17
List the different ways you can give change from $100 dollar bill for a $78 dollar purchase w/o using coins and w/o giving a customer more than 7 singles.
i'm having some trouble.... :cry:
 
gracierox77 said:
List the different ways you can give change from $100 dollar bill for a $78 dollar purchase w/o using coins and w/o giving a customer more than 7 singles.
i'm having some trouble.... :cry:

1x20
2x1

2x10
2x1

1x10
2x5
2x1

4x5
2x1

1x10
1x5
1x7

3x5
1x7

Did I miss any?
 
Hello, gracierox77!

I hope you aren't waiting for some magic formula.
\(\displaystyle \;\;\)"Brute force" listing is only practical way.

List the different ways you can give change from $100 dollar bill for a $78 dollar purchase
w/o using coins and w/o giving a customer more than 7 singles.

math-tutur did a fine job, but didn't include the two-dollar bill . . . I found 28 ways.

I won't list them here ... unless you say "Please".
 
Top