It's great to see such an active community. I came to the forum with multiple questions. I am a college student at Trine University and am seeking help on a program. If anyone is willing to help you can message me. I am not seeking any exact answers, but any help would be greatly appreciated; possibly for a certain area of the code.
The code I am writing is posted below.
Write a program that reads all records from a file named input.txt in the following format [15 points]
studentId studentName gpa
studentId studentName gpa
(studentid is integer, studentName is a two word string and gpa is a double value).
The program should count the number of records read from the file and the average gpa of the class. The program should also count how many students have gpa greater than 3.0. Output all the information in proper format (use DecimalFormat class). Follow the example 6.2 from the textbook to read data from file. Do not make any assumptions about the file other than what is mentioned above.
The file input.txt has to be located in your project folder under Netbeans Projects, so if your project name is Homework5 then file input.txt should be in the folder (Netbeans Projects\Homework5), not inside build directory.
Extra Credit:Find and print the max gpa score
Feel free to guide me through this, as I am absolutely lost on this one. I don't think we have touched up on file reading enough yet in order to write this program. Once again, any help would be appreciated.
-Chris Messersmith