Need this program in Raptor. Post the pseudocode and the flowchart please! Brewster’s Used Car, Inc....

60.1K

Verified Solution

Question

Programming

Need this program in Raptor. Post the pseudocode and theflowchart please! Brewster’s Used Car, Inc. employs severalsalespeople. Brewster, the owner of the company, has provided afile named sales.txt that contains the sales records for eachsalesperson for the past month. Each record in the file containsthe following two fields: The salesperson’s ID number, as aninteger The amount of a sale, as a real number The records arealready sorted by salesperson ID. Design a program that prints asales report. The report should show each salesperson’s sales andthe total sales for that salesperson. The report should also showthe total sales for all salespeople for the month. Here is anexample of how the sales report should appear: Brewster’s UsedCars, Inc. Sales Report Salesperson ID Sale Amount======================================... 100 ==== $10,000.00 100==== $12,000.00 100 ==== $5,000.00 Total sales for this salesperson: $27,000.00 101 ==== $14,000.00 101 ==== $18,000.00 101 ====$12,500.00 Total sales for this salesperson : $44,500.00 102 ====$13,500.00 102 ==== $14,500.00 102 ==== $20,000.00 Total sales forthis salesperson : $48,000.00 Total of all sales: $119,500.00.

Answer & Explanation Solved by verified expert
4.2 Ratings (718 Votes)
    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students