Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

breakdown for coins..how to do it?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi..
can anyone help me?
i'm having problem.
the problem is how to do breakdown for coins?
for example..i have 1 dollar, i want to break it to 50 cents, 20 cents, 10cents,....
thanks.
 
enumerate the types (i.e. penny,nickel,dime,quarter,1/2 dollar and give them thier appropriate values) Then figure out how many pennys can exist in a dollar, a nickel, etc...
then how many nickels are in a dime, quarter etc and so on and so on. Then it is just a combinatorics equation to figure out how many combinations of pennys,nickels... exist in one dollar

Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top