InstructionsThis week's assignment involves writing a Python program to compute the weekly pay for a paper carrier. Your program should prompt the user for the following numeric values:· the...

1 answer below »
N/A


Instructions This week's assignment involves writing a Python program to compute the weekly pay for a paper carrier. Your program should prompt the user for the following numeric values: · the number of papers on the route · the number of days the paper is delivered per week · the amount of tips received for the week Your program should define (not prompt) for the following: · the cost of each newspaper, · a percentage rate for his/her commission. (the paper carrier gets a percentage of the cost of each newspaper) The total number of papers for week is number of papers times number of days. The weekly salary is total number of papers for week times cost of each newspaper times his percentage rate. The total pay should be computed as his weekly salary plus his tips.  Your program should display output at the end of the program for the following: · the total number of papers delivered for the week, · the weekly salary,  · the tips for the week,   · the total pay for the week. Your program should include Header comments (what the program does) and in-line comments (the major design steps).  Document the values you chose for the cost per paper and percentage rate in your comments as well. Submit your Python program as a text file (.py) file.  In addition, submit a Design outline and a Test plan (3 different test cases) in a Word document or a .pdf file which also includes a screen shot of execution of your program for each test case. Your submission must also adhere to the SubmissionRequirements document. (i.e. Filename and display your name, class, date in the output). Grading: 10% - Design – outline proper sequence of steps, calculations (if necessary). Identify values of any known constants (hourly rate, commission rate). Identify what the user inputs will be and what the output will be. 10% - Completeness of your Test plan (at least three test cases).  Include screen shots for each test case. 10% - Documentation - Header and in-line comments. Include document for the values you chose as the known constants (hourly rate, commission rate) in your comments as well. Documentation of major steps (from design outline);  70% - Program prompts and executes correctly on all test cases. Satisfies all requirements (each requirement -10pts), compiles -20pts, effectiveness and neatness -10pts, descriptive variables – 5pts, def main() -5pts). Important note: This is an individual assignment and students are required to submit their original/independent work and adhere to UMGC academic integrity policy. Your submission should adhere to the SubmissionRequirements document. It is advised that you read all the material, including the Lecture before attempting the assignment. Also, review the example programs and practice exercises.  If you do not understand something, reach out to your professor or the UMGC tutor.
Answered Same DayOct 31, 2022

Answer To: InstructionsThis week's assignment involves writing a Python program to compute the weekly pay for...

Nidhi answered on Nov 01 2022
50 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here