Different ways to get change in $$

carddard

Active Member
Joined
Aug 19, 2008
Messages
427
Hi guys, here is the question that needs to be answered without the help of VBA:

Michelle went to the store with a $5 bill. She spent $2.70. The currency denominations are restricted to the following: Notes $2 and $1, and coins 50 cents, 20 cents and 10 cents.

(a) List the possible ways she could get her change. How many ways are there?

(b) List the ways that use the least number of coins.

(c) List the ways that use the least number of both notes and coins
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

JLGWhiz

Well-known Member
Joined
Feb 7, 2012
Messages
12,979
Office Version
  1. 2013
Platform
  1. Windows
Hi guys, here is the question that needs to be answered without the help of VBA:

Michelle went to the store with a $5 bill. She spent $2.70. The currency denominations are restricted to the following: Notes $2 and $1, and coins 50 cents, 20 cents and 10 cents.

(a) List the possible ways she could get her change. How many ways are there?

(b) List the ways that use the least number of coins.

(c) List the ways that use the least number of both notes and coins

I didn't know they made a 20 cent piece!
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,376
Messages
5,836,896
Members
430,461
Latest member
flavgf

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top