Question: i need this in python please. You are going to write a program for a cashiers register. The cashier will have already found the total

 i need this in python please. You are going to write

a program for a cashiers register. The cashier will have already found

the total for the bought goods and entered the amount of money

i need this in python please.

You are going to write a program for a cashiers register. The cashier will have already found the total for the bought goods and entered the amount of money the customer has given him or her. The change will be displayed and the cashier will give out the whole dollar amounts to the customer. The register will automatically distribute the proper coins for the remainder of the change. You are responsible for writing a program that will give the minimum number of quarters, nickels, dimes, and pennies needed for the correct amount of change. Right now, early in your computer science course you need to realize that it is not possible to write a program, which means a set of computer instructions, to accomplish anything unless you can personally solve the problem. It is possible to write a computer program that will play chess. Now can you imagine writing such a program if you cannot personally play chess? In other words, right now you need to first understand the logical steps that are necessary to compute the change from pennies Stage 1 - Basic Breakdown of Change The Stage 1 version requires a program that simulates the computational steps demonstrated below to correctly calculate the number of quarters, dimes, nickels, and pennies needed for 97 cents in change. Start this assignment by making a python file titled Assignment1.py. Use the starter file to begin this assignment and implement your work where comments indicate. Be sure to add the variables neccessary (see the print statements) and perform the appropriate calculations upon those variables. "Pro tip use the \% operator to find the remaining pennies when needed Stage 1 - Output Stage 2 - Getting User Input The Stage 2 version requires a program that does the same math as the previous version b for user input. The user should be able to enter an amount of change and it should calcu output the number of quarters, dimes, nickel, and pennies necessary for the same total. Stage 2 - Sample Output (May differ with different input) Assignment 1 Key Stage 3 - Getting a Total The Stage 3 version adds the ability to input in a number of quarters, dimes, nickels, and This should total the amount of money and then break down the number of quarters, dimes and pennies necessary to produce the same monetary amount using the fewest nu coins. Have your output match what you see below in format. Don't worry if you are short and that the total isn't rounded correctly. It is a bitwise arithmetic error on your computer's will learn to deal with this in time (or you can look up how to fix it by rounding) Stage 3 Sample Ouput Stage 4 - Finish the Program * Upload your completed version of each stage The Stage 4 version is slightly more complex. You are to enter the number of coins as you did in the previous version and output the total. Then you are to tell me how many 20's, 10's, 5's 1's, quarters, dimes, nickels, and pennies we need for the same amount. All values for the bills and coins must be of type integer, no decimals are allowed and amounts should be correct. Stage 4-Sample Output Assignment 1 Key Enter a number of quarters: 110 Enter a number of dimes: Enter a number of nickels: Enter a number of pennies: Number of coins for $27.91 in change is: Twenties: 1 Tens: 0 Fives: 1 Ones: 2 Quarters: 3 Dimes: 1 Nickels: 1 Pennies: 1 Process finished with exit code 0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!