Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Ledger's Furniture Store has 10 salespeople. Ledger's wants to produce a combined monthly sales report for all salespeople. Ledger's wants you to write a program

Ledger's Furniture Store has 10 salespeople. Ledger's wants to produce a combined monthly sales report for all salespeople. Ledger's wants you to write a program that will allow them to enter data in any order, save the unsorted data to a file, and then produce a file in alphabetical order by name of the salespeople. The unsorted output file should be named "sales_unsorted.txt" and the sorted file should be named "sales_sorted.txt".Your unsorted file output should include: A list of the salespeoples names and the monthly sales for each of them. Your sorted file output should include: A list of the salespeoples name and the monthly sales for each of them. At the bottom of the report, list the following: o The total combined sales for all salespeople. o The average sales for all salespeople. o The salesperson with the lowest sales for the month. o The salesperson with the highest sales for the month. You must submit the unsorted and sorted files with your RAPTOR program to show that your program ran correctly. Here is your sample test data to use with your program. This is to be typed in as user input.Salesperson Monthly Sales Joan $ 1525 Bob $ 1935 Lisa $ 2550 Tina $ 1745 Corey $ 3025 Chummily $ 1420 Rick $ 4560 Nancy $ 2645 Holly $ 1489 Frank $ 4450

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David M. Kroenke, David Auer

11th Edition

B003Y7CIBU, 978-0132302678

More Books

Students also viewed these Databases questions

Question

What is the difference between Needs and GAP Analyses?

Answered: 1 week ago

Question

What are ERP suites? Are HCMSs part of ERPs?

Answered: 1 week ago