Question: could you make this code as same as sample run? but i didn't learn the buffered reader or try or catch. so can you

could you make this code as same as sample run?

but i didn't learn the buffered reader or try or catch.  
so can you just write the basic method and make it? Lab Exam #3 Practice Question 1 Part A Write a program toread in a list of names and grades from a file. Findthe average score and print out all students whose score is greaterthan the average. You cannot hard-code the average into your program. Do


Lab Exam #3 Practice Question 1 Part A Write a program to read in a list of names and grades from a file. Find the average score and print out all students whose score is greater than the average. You cannot hard-code the average into your program. Do not use arrays or Arraylists to solve this problem. Hint: Read the file twice. Create a file by copying the following text into notepad and saving file as: c:\temp\ names.txt Jordan House 87.4 Anthony Mason 76.5 Austin Twumasi 90.5 Ciprian Rhodes 66.9 Darrell Poon 75.2 The following is a sample run, user input is shown in red bold underline: Enter the input filename: c:/temp/names.txt Average grade is 79.30 Students with grades > average First Last Jordan House Austin Twumasi Score 87.40 90.50

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

part A import javaioFile import javaioFileNotFoundException import javautilScanner public class StudentGrades public static void mainString args Prompt user for input filename SystemoutprintEnter the ... View full answer

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 Programming Questions!