Question: I NEED HELP WITH THIS QUESTION!!! A comma-separated-value(CSV) file is a simple text format used to store a list of records. A comma is used
I NEED HELP WITH THIS QUESTION!!!

A comma-separated-value(CSV) file is a simple text format used to store a list of records. A comma is used a delimiter to separate the fields for each record. This format is commonly used to transfer data between a spreadsheet or database. In this Programming Project consider a store that sells file products abbreviated as A, B, C, D and E. Customers can rate each product from 1-5, where 1 is poor and 5 is excellent. The ratings are stored in a CSV file where each row contains the customer's rating for each product. Here is a sample file with three customer ratings: A, B, C, D, E 3, 1, 5, 1, 2, 2 2, 1, 1, 4, 2 1, 2, 2, 5, 1, 3 In this file format, the first line gives the products. In this case, the first customer rated A as 3, C as 5, D as 1 and E as 2. The third customer rated C as 5.D as 1 and E as 3. Create a text file and extract each rating using the StringTokenizer class. Finally, the program should output the average rating for each product. When reading the file described above, it is necessary to create related customer objects and accumulate them in an array of customer type, and to transfer the rating information into a two-dimensional array. This two-dimensional array, one dimension is for the customers the other dimension is for products and this The indices of the customer dimension of the index and the index of the customer object of the one dimensional index of the customer type are compatible. You may think there are up to 200 customers in the system
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
