Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 4 4 4 4 4 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1000 1000 1000 1000 1000 2000 2000 2000 2000 2000 3000 3000 3000 3000...

Write an assembly language program that solves the following problem. The Albatross Company has four salespeople (1 to 4) who sell five different products (1 to 5). Once a day, each salesperson reports their sales of each product. These reports are consolidated over time into a file. Each record in the file contains three values:The salesperson number from 1 to 4 (3 characters wide, right justified)The product number from 1 to 5 (3 characters wide, right justified)The dollar value of that product sold that day by that salesperson (9 characters wide, right justified)Your program must prompt the user for a file name, process the file, and report the totals for each salesperson and for each product. A sample data file called “Albatross.dat” is provided to allow you to test your program.Your program must be able to handle a data file that contains any number of sales records. This means that it is possible for the input data file to contain multiple records for each salesperson and product combination. Do not write your program so that it always (and only) expects the number of records that happen to be in the sample data file. Your program will be tested and graded by executing it with a data file that contains fewer records than the sample data file, the sample data file, and finally with a data file that contains more records than the sample data file.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question