Algorithm:
1. Prompt the user to enter the number of quarters, dimes, nickels, and pennies.
2. Read the input values and store them in separate variables.
3. Calculate the total value in pennies by multiplying the number of each coin by its value in pennies and adding them all together.
4. Display the total value in pennies.