[Solved]1 01 Lte Wilbur Wright College Cis 142 C Programming Language Prof Gustave Alatta Lab 6 Po Q37248971
C++ programming
create a class (.h, .cpp, main.cpp)
Thank you

1:01 LTE Wilbur Wright College CIS 142 C++ Programming Language Prof. Gustave Alatta Lab # 6 Points: 100 1. The Best Buy Data Analytic Department ask you to create a CSV fil of their stores in Chicagoland from the second quarter of the year (Jan, Feb, March, and April. e containing the total sales information a. Create an application (CreateCSV) that will create a text file (with CSV extension) that contains the following data in the row StoreName, JanSales, FebSales, MarSales AprSales, and TotaSales. b. Make sure that the file add the comma delimiter. c. The first row (row header) of the CSV file must d. The App must ask the user to enter the file name e. The, the App will ask for 5 different stores in be: Store, January, February, March, April, Total. to be created. Ex: FileName.cs ChicagoLand. Ex: Chicago, Naperville, Evanston, Oakton, Skokie. f. The App will calculate the total sales for each month of the quarter. g. You will need to create a class call FileCreator You must implements the following function: the function constructor (FileCreater) that will have as parameter. Create The WriteFile function with the following parameters: StoreName, JanSales, FebSales, MarSales, and AprSales. The WriteFile function must calculate the total sales for the store and write this information in the file: StoreName, Jan Sales, FebSales, MarSales, AprSales, and TotaSales. The function WriteFile won’t return anything. And, create the CloseFile that will close that file h. You will need to generate the following files: CreateCSV.cpp, FileCreator h, and FileCreator.cpp. Output CSV file sample: Store, January, February, March, April, Total Chicago, 150000, 125650, 210000, 100000, 585650 Naperville, 100000, 100000, 200000, 50000, 450000 1:01 c. The first row (row header) of the CSV file must d. The App must ask the user to enter the file name e. The, the App will ask for 5 different stores in be: Store, January, February, March, April, Total. to be created. Ex: FileName.csv ChicagoLand. Ex Chicago, Naperville, Evanston, Oakton, Skokie. f. The App will calculate the total sales for each month of the quarter. g. You will need to create a class call FileCreator You must implements the following function: the function constructor (FileCreater) that will have the FileName as parameter. function with the following parameters: StoreName, JanSales, FebSales, MarSales, and AprSales. The WriteFile function must calculate the total sales for the store and write this information in the file: StoreName, JanSales, FebSales, MarSales, AprSales, and TotaSales. The function WriteFile won’t return anything. And, create the CloseFile that will close that file Create The WriteFile h. You will need to generate the following files CreateCSV.cpp, FileCreator h, and FileCreatorcpp. Output CSV file sample: Store, January, February, March, April, Total Chicago, 150000, 125650, 210000, 100000, 585650 Naperville, 100000, 100000, 200000, 50000,450000 myFile : ofstream WriteFile(string, double, double, double, double): void WriteHeader): void Extra Credit(25 points): 1. Use a loop to add the month sales, and create the header row (WriteHeader). Show transcribed image text 1:01 LTE Wilbur Wright College CIS 142 C++ Programming Language Prof. Gustave Alatta Lab # 6 Points: 100 1. The Best Buy Data Analytic Department ask you to create a CSV fil of their stores in Chicagoland from the second quarter of the year (Jan, Feb, March, and April. e containing the total sales information a. Create an application (CreateCSV) that will create a text file (with CSV extension) that contains the following data in the row StoreName, JanSales, FebSales, MarSales AprSales, and TotaSales. b. Make sure that the file add the comma delimiter. c. The first row (row header) of the CSV file must d. The App must ask the user to enter the file name e. The, the App will ask for 5 different stores in be: Store, January, February, March, April, Total. to be created. Ex: FileName.cs ChicagoLand. Ex: Chicago, Naperville, Evanston, Oakton, Skokie. f. The App will calculate the total sales for each month of the quarter. g. You will need to create a class call FileCreator You must implements the following function: the function constructor (FileCreater) that will have as parameter. Create The WriteFile function with the following parameters: StoreName, JanSales, FebSales, MarSales, and AprSales. The WriteFile function must calculate the total sales for the store and write this information in the file: StoreName, Jan Sales, FebSales, MarSales, AprSales, and TotaSales. The function WriteFile won’t return anything. And, create the CloseFile that will close that file h. You will need to generate the following files: CreateCSV.cpp, FileCreator h, and FileCreator.cpp. Output CSV file sample: Store, January, February, March, April, Total Chicago, 150000, 125650, 210000, 100000, 585650 Naperville, 100000, 100000, 200000, 50000, 450000
1:01 c. The first row (row header) of the CSV file must d. The App must ask the user to enter the file name e. The, the App will ask for 5 different stores in be: Store, January, February, March, April, Total. to be created. Ex: FileName.csv ChicagoLand. Ex Chicago, Naperville, Evanston, Oakton, Skokie. f. The App will calculate the total sales for each month of the quarter. g. You will need to create a class call FileCreator You must implements the following function: the function constructor (FileCreater) that will have the FileName as parameter. function with the following parameters: StoreName, JanSales, FebSales, MarSales, and AprSales. The WriteFile function must calculate the total sales for the store and write this information in the file: StoreName, JanSales, FebSales, MarSales, AprSales, and TotaSales. The function WriteFile won’t return anything. And, create the CloseFile that will close that file Create The WriteFile h. You will need to generate the following files CreateCSV.cpp, FileCreator h, and FileCreatorcpp. Output CSV file sample: Store, January, February, March, April, Total Chicago, 150000, 125650, 210000, 100000, 585650 Naperville, 100000, 100000, 200000, 50000,450000 myFile : ofstream WriteFile(string, double, double, double, double): void WriteHeader): void Extra Credit(25 points): 1. Use a loop to add the month sales, and create the header row (WriteHeader).
Expert Answer
Answer to 1:01 LTE Wilbur Wright College CIS 142 C++ Programming Language Prof. Gustave Alatta Lab # 6 Points: 100 1. The Best Buy… . . .
OR

