Question: I need it in c++ programing 2. A data file (height.dat) holds the heights (in inches) of students in a class. All heights are stored
2. A data file (height.dat) holds the heights (in inches) of students in a class. All heights are stored on a single line. Write a program which opens the file for read access and reads in students' heights from the data file. The program computes the following statistics: number of students in the class and the highest height found in the file. A sample input data file and a sample output are shown below. Sample Input 67 72 78 63 65 70 62 Sample output A total of 7 heights stored in the file The average test score is 68.14 Life-long Learning Lectur...2018.ppt Project Charter templat...ION(1) (1) ntitled folder 1.pdf
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
