Question 655922
the total amount in cents of n nickels and d dimes
-------------------
5n + 10d cents
Get some coins, try it.