Question: Write a program lab06.java that reads in student scores from grades_sec04.txt and displays a table of the different grade symbols and their corresponding counts. 2.

 Write a program lab06.java that reads in student scores from grades_sec04.txt
and displays a table of the different grade symbols and their corresponding

Write a program lab06.java that reads in student scores from grades_sec04.txt and displays a table of the different grade symbols and their corresponding counts. 2. Input File You are given a text file grades_sec04.txt, use it in your implementation. The file is formatted such that a first name String is followed by a last name String, followed by an Integer between 25 and 100, all separated with tabs. Your code should consider the distinct data types when reading from a file. The file contains 50 different names and their scores. Your code should be able to read every single score in the file. A section of rades sec04.txt is given below (only 8 names) ty Voge 68 nnemarie Nettles 81 indi Scroggins 64 undrea Sena 100 amuel Crane 36 Latonya Eason 47 sapieaode yfricture aid Grading ia You can edit the code given below to finish your assignment. Note the points are assigned in the red comments. import java.util.Scanner; import java.io.File; import java.io.FileNotFoundException; public class lab8 t public static void main (String[ args) //Declare file, counters, necessary variables and initializations //Place code here.. (10 points) try //Place code here.. (10 points) //read from file and update grade //Place code here (50 points) catch (FileNotFoundException e) //Declare Scanner counters System.out.println("File not found" //Print Table

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!