Question: a python program that asks the user to enter the number of daily sales amounts to be entered. It should use a for loop to

a python program that asks the user to enter the number of daily sales amounts to be entered. It should use a for loop to collect the daily sales of a salesperson and determine the average of those sales. The program should display the average calculated by the program, the total sales and the salespersons pay based on 10% of their gross sales.

Your display should look like this (this is an example, do NOT hard code these values):

Average Sales: $2.667.77 Total Sales: $13,338.87 Pay: $1,333.89

Name the program firstNameExam1, where firstName is your first name. Your variables should hold decimal values and they should be named: pay, total, sales, and average. Create an integer variable and call it days. The display should be limited to two decimal places.

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!