Question: Must be written in Java language 2. A data file (height.dat) holds the heights (in inches) of students in a class. All heights are stored

Must be written in Java language  Must be written in Java language 2. A data file (height.dat)

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 Sample output 67 72 78 63 65 70 62 A total of 7 heights stored in the file The highest height is 78 Save the program as ProcessHeights.java. You are required to use methods other than the main method in this assignment

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!