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.
EssayNICE | 24/7 Homework Help
Essaynice Will Help You Write Your Essays and Term Papers
Answered » You can buy a ready-made answer or pick a professional tutor to order an original one.
Assignment help 8451
HOME TO CERTIFIED WRITERS
Why Place An Order With Us?
- Certified Editors
- 24/7 Customer Support
- Profesional Research
- Easy to Use System Interface
- Student Friendly Pricing