Question: please help write this program in c++ The purpose of this assignment is to read from a text file, and do some data analysis. You
please help
write this program in c++
The purpose of this assignment is to read from a text file, and do some data analysis. You must store your data into parallel arrays. Find your own data - you can have any dataset that interests you. There are many websites out there that have sample data you can use for this program. Please remember to cite your Sources.
Make sure your data set meets the following requirements:
You must have at least one column of strings (like movie names, item names etc) like my sample items.txt, and 2 columns of numbers. The numbers can be doubles or ints.
Keep your dataset simple - otherwise you will end up with too many parallel arrays that will make it very complicated to write code for.
You must use char arrays to store the strings and depending on the datatypes of the numbers, you can create single or 2-dimensional arrays.
Your data must be separated by semicolons or some delimiters other than space.
Check out the sample A05 to get an idea of what you need for your dataset.
Write a function to open the text file created from your dataset and check to make sure it opens. If it does not open, the program exits.
Write a function to read from the text and do some data analysis. This could be comparing data such as finding the highest value or lowest value for a column.
Write a function to read from the text file and do some summation analysis. Find the sum or average of a column of data, or rows of data as shown below in the second example.
Then close the file and end the program.
You must use function prototypes and write your main() function at the top of your program, followed by the other function definitions.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
