Question: Write a program in c + + that will read a set of numbers from a file into an array The array must be dynamic
Write a program in cthat will read a set of numbers from a file into an array
The array must be dynamic
The size is only as big as the number of values in the file
The program must calculate the size of the array. Do not hard code a value
All interaction with the array must be done via a pointer.
No bracket notation
Use pointer arithmetic to traverse the arrays
Search the array to find the following items:
The lowest number in the array
The highest number in the array
The sum of the numbers in the array
The average of the numbers in the array
Random.txt:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
