Write a detailed set of instructions, in English, to calculate the dollar amount of money in a piggy bank that contains h half-dollars, q quarters, n nickels, d dimes and p pennies.
This is the pseudcode for converting different denominations, so that the final amount is in dollars.