subject

The best buy data analytic department ask you to create a csv file containing the total sales information of their stores in chicagoland from the second quarter of the year (jan, feb, march, and april).procedure: 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. make sure that the file add the comma delimiter. the first row (row header) of the csv file must be: store, january, february, march, april, total. the app must ask the user to enter the file name to be create ex: filename. csv. the, the app will ask for 5 different stores in chicagoland. ex.: chicago, naperville, evanston, oakton, skokithe app will calculate the total sales for each month of the quarter. you will need to create a class call filecreator. you must implements the following function: the function constructor (filecreator) that will have the filename(anyname. csv) 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, jansales, febsales, marsales, aprsales, and totasales. the function writefile won’t return anythin and, create the closefile that will close that file opened. you will need to generate the following files: createcsv. cpp, filecreator. h, and filecreator. cpp. output csv file sample: store, january, february, march, april, totalchicago, 15, 125650, 21, 1, 585650naperville, 1, 1, 2, 5, 45

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:20
Pp 4.1 design and implement a class called sphere that contains instance data that represents the sphere’s diameter. define the sphere constructor to accept and initialize the diameter and include getter and setter methods for the diameter. include methods that calculate and return the volume and surface area of the sphere (see pp 3.5 for the formulas). include a tostring method that returns a one-line description of the sphere. create a driver class called multisphere, whose main method instantiates and updates several sphere objects.
Answers: 1
question
Computers and Technology, 23.06.2019 10:00
What is estimated time of arrival (eta)? a device that measures the acceleration (the rate of change of velocity) of an item and is used to track truck speeds or taxi cab speeds a gps technology adventure game that posts the longitude and latitude location for an item on the internet for users to find a north/south measurement of position the time of day of an expected arrival at a certain destination and is typically used for navigation applications
Answers: 3
question
Computers and Technology, 24.06.2019 00:00
Visualizing a game of “tag” to remember the meaning of contagious
Answers: 3
question
Computers and Technology, 24.06.2019 01:30
Suppose a cpu with a write-through, write-allocate cache achieves a cpi of 2. what are the read and write bandwidths (measured by bytes per cycle) between ram and the cache? (assume each miss generates a request for one block.)
Answers: 1
You know the right answer?
The best buy data analytic department ask you to create a csv file containing the total sales inform...
Questions
question
Mathematics, 10.03.2021 02:50
question
Mathematics, 10.03.2021 02:50
question
Biology, 10.03.2021 02:50
question
Mathematics, 10.03.2021 02:50
question
Mathematics, 10.03.2021 02:50
question
Social Studies, 10.03.2021 02:50
question
Mathematics, 10.03.2021 02:50
question
Biology, 10.03.2021 02:50
question
Mathematics, 10.03.2021 02:50
Questions on the website: 13722363