Computers and Technology
Computers and Technology, 17.10.2021 21:00, dondre72

A company pays its salespeople on a commission basis. The salespeople each receive $200 per week plus 9 percent of their gross sales for that week. for example, a salesperson who grosses $5000 in sales in a week receives $200 plus 9 percent of $5000 for a total of $650. Program Specifications Write an interactive program that asks for the gross weekly sales of each of the company's salespeople and displays a histogram that shows how many of the salespeople earned salaries in each of the following ranges (assume that each salesperson's salary is truncated to an integer amount. You do not know how many salespeople are in the company so your interactive loop asking for data should end only when the user wants to quit. 200-299 300-399 400-499 500-599 600-699 700-799 800-899 900-999 1000 and over Design your own dictionary of key/value pairs, where the key gives you a number signifying the range The value for each key is zero to begin with. The value of the particular key will be incremented by the data entered from the keyboard. You must use at least one function in your program. For instance, the displaying of the histogram could be within a function. You would need to at least pass the dictionary from the main body of the program to the function when the function is called. The function should be at the top of your source code and the main body of your program after all functions. The interactive design is up to you and the output should be something like the following if the 10 sales enter were 5000, 195, 1200, 8000,12500,9000,3000,400,1580,75 200-299 *** 300-399 ** 400-499 * 500-599 600-699 * 700-799 800-899 900-999 * 1000 and over **

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 02:50, brianna4455
Which of the following had the greatest influence on opening the internet to the generly public
Answers: 1
image
Computers and Technology, 22.06.2019 08:00, wgdelgado
What is the first step in creating a maintenance ?
Answers: 2
image
Computers and Technology, 22.06.2019 13:30, ReaLily
1. technician a says horsepower information can be used by consumers to compare the power of different automobile engines. technician b says that manufacturers will often list the horsepower output of their engines in the online service information. who is right?
Answers: 2
image
Computers and Technology, 23.06.2019 13:30, mads000
Drag the tiles to the correct boxes to complete the pairs. match the errors with their definitions. #name #value #ref when a formula produces output that is too lengthy to fit in the spreadsheet cell arrowright when you enter an invalid cell reference in a formula arrowright when you type text in cells that accept numeric data arrowright when you type in a cell reference that doesn’t exist arrowright reset next
Answers: 1
Do you know the correct answer?
A company pays its salespeople on a commission basis. The salespeople each receive $200 per week plu...

Questions in other subjects:

Konu
Mathematics, 18.03.2021 03:30
Konu
Social Studies, 18.03.2021 03:30
Konu
Mathematics, 18.03.2021 03:30
Konu
Mathematics, 18.03.2021 03:30