Count the coins: Difference between revisions
m
→{{header|Maple}}
Line 2,126:
=={{header|Maple}}==
Straightforward implementation with power series. Not very efficient for large amounts. Note that in the following, all amounts are in '''cents'''.
<lang maple>assume(p::posint,abs(x)<1):
|