$30
Project 3-1: Change Calculator
Create a program that calculates the coins needed to make change for a specified
monetary amount.
Console
Change Calculator
Enter dollar amount (for example, .56, 7.85): 3.37
Quarters: 13
Dimes: 1
Nickels: 0
Pennies: 2
Continue? (y/n): y
Enter dollar amount (for example, .56, 7.85): .55
Quarters: 2
Dimes: 0
Nickels: 1
Pennies: 0
Continue? (y/n): X
please enter y or n
Continue? (y/n): n
Bye!
Specifications
• The program should display the minimum number of quarters, dimes, nickels, and pennies that
represent the coins that make up the specified amount.
• Assume that the user will enter a valid number.
• The program should continue only if the user enters “y” or “Y” to continue.
• Save the file with the filename change_XXX.py where XXX is either your initials or your last name.