Question
The first assignment involves writing a Python program to compute the weekly pay for a salesperson. Your program should prompt the user for the number
The first assignment involves writing a Python program to compute the weekly pay for a salesperson. Your program should prompt the user for the number of hours worked for that week and the total sales for the same week. Your program should compute the total pay as the sum of the pay based on the number of hours worked times the hourly rate plus the commission. You should choose a value for the hourly pay. The commission should be computed as a percentage of the weekly sales. You should choose a value for the percentage. Your program should output the pay based on the hours worked, the commission and the total pay for the week.
Your program should include the pseudocode used for your design in the comments.Document the values you chose for the hourly rate and commission percentage in your comments as well.
You are to submit your Python program as a text file (.txt) file. In addition, you are also to submit a test report in a Word document or a.pdffile. Please ensure your document contains clear images of the execution of your code.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started