The array of sales data is as follows: Owner sales = [201.45, 550.00, 117.65, 55.25, 5.95, 365.45] Your program needs to create 4 functions accomplishing the following tasks: main: This function will call all of your other functions, in the following order: Print Sales, Find Lowest and Determine Payout. It will also print the lowest sales. Print Sales: This function will print each sale. Find Lowest: This function will find the lowest sale and print it.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Consignment shops offer a great service to our communities in that they allow us to
purchase slightly used goods at very valuable prices. The original owners of these
goods bring in their merchandise to selI. Upon selling the item, the consignment
shop retains 25% of the sale for their services. You are working for a local shop.
Every month the database, containing the sales data produces a report that details the
amount sales per each original owner. Your job is to write a program that will help
analyze this data.
The array of sales data is as follows:
owner sales = [201.45, 550.00, 117.65, 55.25, 5.95, 365.451
Your program needs to create 4 functions accomplishing the following tasks:
main: This function will call all of your other functions, in the following
order: Print Sales, Find Lowest and Determine Payout. It will also print the
lowest sales.
Print Sales: This function will print each sale.
• Find Lowest: This function will find the lowest sale and print it.
Determine Payout: This function will use the data in the array and calculate
the amount the original owner will receive in their monthly check.
Remember the original owner receives their total sales minus 25%. Print each
owner check. Round your check value to 2 decimals by either using the
round function or the format function.9:11 PM 4/24/2020
When your program runs, it will display the following:
Sales by Owner
*******
201.45
550.0
117.65
55.25
5.95
365.45
Lowest Sales : 5.95
Owner Check Amounts
*****
151.09
412.5
88.24
41.44
4.46
274.09
Transcribed Image Text:Consignment shops offer a great service to our communities in that they allow us to purchase slightly used goods at very valuable prices. The original owners of these goods bring in their merchandise to selI. Upon selling the item, the consignment shop retains 25% of the sale for their services. You are working for a local shop. Every month the database, containing the sales data produces a report that details the amount sales per each original owner. Your job is to write a program that will help analyze this data. The array of sales data is as follows: owner sales = [201.45, 550.00, 117.65, 55.25, 5.95, 365.451 Your program needs to create 4 functions accomplishing the following tasks: main: This function will call all of your other functions, in the following order: Print Sales, Find Lowest and Determine Payout. It will also print the lowest sales. Print Sales: This function will print each sale. • Find Lowest: This function will find the lowest sale and print it. Determine Payout: This function will use the data in the array and calculate the amount the original owner will receive in their monthly check. Remember the original owner receives their total sales minus 25%. Print each owner check. Round your check value to 2 decimals by either using the round function or the format function.9:11 PM 4/24/2020 When your program runs, it will display the following: Sales by Owner ******* 201.45 550.0 117.65 55.25 5.95 365.45 Lowest Sales : 5.95 Owner Check Amounts ***** 151.09 412.5 88.24 41.44 4.46 274.09
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY