Question: Assignment - Chapter 7 ( Program 1 ) Due Tuesday by 1 1 : 5 9 pm Points 0 Submitting a file upload File Types
Assignment Chapter Program
Due Tuesday by :pm Points Submitting a file upload File Types cpp h and txt
Available Jul at am Jul at :pm
Read from a data file named data.txt that contains the following numbers each on a separate line; in that order. The program should read the content of the file into an array and then manipulate the array using loops, to display the following data:
The lowest number in the array
The highest number in the array
The total of the numbers in the array
The average of the numbers in the array, display two decimal places.
Make sure to submit your source code, header file and datafile.
Sample output
Lowest number:
Highest number:
Total of numbers:
Average of numbers:
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
