Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Question 1 Creating a brief program: Training a cashier General description of t

ID: 3527412 • Letter: Q

Question

Question 1 Creating a brief program: Training a cashier General description of the problem: You are training a new cashier person to handle coins and bills of different designations (in this simplified version we will only use loonies ($1), twonies ($2) and five dollar bills ($5)). The user will be the trainee. You want to offer two options to the user. a. The user will provide how many bills and coins he/she has and the program will inform how much money he/she has in total. b. The user will provide how much money he/she needs and the program will inform how many bills and coins he /she needs to obtain such amount, so that he/she uses as many larger bill/coins as possible. The program will first ask the user which type of calculation the user would like to do, either (a) or (b). If the user would like to do calculation (a) the program will ask the user to provide three numbers corresponding to the number of bills and/or coins for each bill/coin designation. Otherwise, the program will ask for a single number, corresponding to the total amount of money. The result from the calculation should be shown to the user, with adequate messages. What you are asked to do: Create a Python program to interact with the user according to the action requested. The program as a whole will do only two (2) calculations, one after the other. He/she may wish to do two calculations of the same type (a) or (b) or different

Explanation / Answer

please dont post so many question at once i will answer some of it The advantages of using modular programming: fewer bug because each set of programming commands is shorter algorithm is more easily understood many programmers can be employed, one on each of the modules programmers can use their expertise on particular techniques testing can be more thorough on each of the modules allows library programs to be inserted all of which saves time and means the finished program can be completed more quickly The disadvantages of using modular programming: can lead to problems with variable names means documentation of modules must be thorough can lead to problems when modules are linked because link must thoroughly tested

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote