1.

We are interested in generating forecasts of sales data based on the three calculations below. Your task is to write a program called forecast that will take as its arguments the name of a data file and the name of a product. From these arguments, the program will extract the data needed to perform calculations for the specified product. You must use the generic ADT List defined above. For the data file, use the comma-delimited file.The output of the program, if the product is listed in the data file, should be exactly as below (truncatevalues to integers for the output, but not during the calculations, as this would decrease the accuracy ofthe results):Product: WheelSimple average: 2491Slope: 2019Linear regression: 2148If the product is not found in the file, the output should be exactly as below:Product productName not found in fileName

Answer»

Explanation:

bro CUT SHORT the QUESTION and ask bro

If you MARK me as brainliest I will I will FOLLOW you



Discussion

No Comment Found