Question: C++ Below are values from datafile.txt. Read the file using the fstream library and then create a dynamic array that stores its elements. Your code
C++ Below are values from datafile.txt. Read the file using the fstream library and then create a dynamic array that stores its elements. Your code should use pointers. Find the sum and the average of all numbers. NOTE: YOU HAVE TO USE POINTERS DATAFILE.TXT: 63.5
92.3
99.9
53.5
71.4
85.0
82.3
87.4
67.4
80.5
99.9
53.5
73.4
71.5
85.0
77.7
95.1
71.1
82.0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
