PROGRAMMING EXERCISE

Count the Money in a Piggy Bank

 

Write a program to determine the total amount of money in a piggy bank.  Have the user enter the number of pennies, nickels, dimes, and quarters.  Use those quantities to determine the total amount of money in the bank.  A sample run of the program should look something like the following:

 

 

 

Download the solution for this project here.