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

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 Programming Questions!