How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask Scott Your Own Question
Scott, MIT Graduate
Category: Homework
Satisfied Customers: 3040
Experience:  MIT Graduate (Math, Programming, Science, and Music)
Type Your Homework Question Here...
Scott is online now
A new question is answered every 9 seconds

This is using RAPTOR, and must have sub modules. The main module

Customer Question

This is using RAPTOR, and must have sub modules. The main module cannot be very large.
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 last 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 salespeople’s names and the monthly sales for each of them.
Your sorted file output should include:
 A list of the salespeople’s 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.
Monthly Sales
$ 1525
$ 1935
$ 2550
$ 1745
$ 3025
$ 1420
$ 4560
$ 2645
$ 1489
$ 4450
Do not worry about the formatting of your output files since RAPTOR does not support formatting controls.
The unsorted file should look similar to this: The sorted file should look similar to this:
Joan Sales: $ 1525 Bob Sales: $ 1935
Bob Sales: $ 1935 Chummily Sales: $ 1420
Lisa Sales: $ 2550 Corey Sales: $ 3025
Tina Sales: $ 1745 Frank Sales: $ 4450
Corey Sales: $ 3025 Holly Sales: $ 1489
Chummily Sales: $ 1420 Joan Sales: $ 1525
Rick Sales: $ 4560 Lisa Sales: $ 2550
Nancy Sales: $ 2645 Nancy Sales: $ 2645
Holly Sales: $ 1489 Rick Sales: $ 4560
Frank Sales: $ 4450 Tina Sales: $ 1745
Total Sales: $ XXXXX
Average Sales: $ XXXX
Salesperson with Lowest Sales: name
Salesperson with Highest Sales: name
Submitted: 1 year ago.
Category: Homework
Expert:  Ingo U replied 1 year ago.
Hi,I would like to review the details of your question.Could you please attach or upload any original files describingthe requirements, sample output, work in progress, or any other relevant details?For multiple files, it is often easiest to put them all into a compressed(i.e. zip) folder so you only have upload one item.What is your timeframe for this project?Thanks,Ingo PS An easy file sharing site to use is to and upload the file there (no need to sign up). You will then get a page that has the File ID and Download Link. Copy either the File ID (a 6-digit number) or the Download Link.Then come back here and paste it in your reply.