
David W. answered 09/07/15
Tutor
4.7
(90)
Experienced Prof
The important ability that this problem teaches is called 'developing an algorithm' (that is, a systematic method for solving the problem). Now, some algorithms are best for beginning math, some are best for computers, etc. The goal is to understand the problem and to select a 'tool' (method) for solving it.
Let's do an exhaustive iteration. What's that? Well it examines all possibilities (using a computer) and checks to see whether the total is 55. The units are 25, 10, and 5 and the total must be 25, and we will start with either 0 or 1 or 2 quarters; either 0,1,2,3,4, or 5 dimes; and from 0-11 nickels. Then test to see whether the total value is 55.
For Q = 0 to 2
For D = 0 to 5
For N = 0 to 11
If (25*Q + 10*D + 5*N) = 55 then Print Q,D,N
Next N
Next D
Next Q
The results:
Quarters Dimes Nickels
0 0 11
0 1 9
0 2 7
0 3 5
0 4 3
0 5 1
0 1 9
0 2 7
0 3 5
0 4 3
0 5 1
1 0 6
1 1 4
1 2 2
1 3 0
2 0 1
Angie has 11 possibilities.