Question 539233
<pre>
quarters     dimes    nickels   pennies        number of ways
--------------------------------------------------------------
   0           0       0-7      the rest             8
   0           1       0-5      the rest             6
   0           2       0-3      the rest             4
   0           3       0-1      the rest             2 
   1           0       0-2      the rest             3
   1           1       0           0                 1 
---------------------------------------------------------
                                       total ways = 24

Edwin</pre>