Question: Description: You are going to write a program for a cashiers register. The cashier will have already found the total for the bought goods and

Description:

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

Part 1a: Create a flowchart that will convert a given number of pennies entered as input by the user into the number of quarters, dimes, nickels and pennies need to distribute and equivalent amount. Save your file as Lab01Part1a as either an image, word document, or pdf and upload your file to blackboard.

Part 1b: Code your solution to problem 1a in python. Below are sample outputs you should get with the appropraite input. Save your file as Lab01Part1b and upload your python file to blackboard. Do not copy and paste the code or output for submission

Part 2a: Write the pseudocode for a problem that will accept the number of (not value of) quarters, dimes, nickels, and pennies and display a total value for the coins. Save your file as Lab01Part2a and upload your file to blackboard.

Part 2b: Code your solution to problem 2a in python. Below are sample outputs you should get with the appropraite input. Save your file as Lab01Part2b and upload your python file to blackboard. Do not copy and paste the code or output for submission

Write the code that will combine part 1 and 2. Your program should accept a number of quarters, dimes, nickels, pennies and output the total value of those coins. It should then also determine the number of 20, 10, 5, and 1 dollar bills along with the number of quarters, dimes, nickels, and pennies needed to dispurse the total amount. A sample output is provided below. Save your python file as Lab01EC. Extra Credit is only granted if a correct solution is provided and an earnest attempt is made resulting in the majority of points from parts 1 and 2 above

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!