JAVA
RequirementsThis program will take Names and Grades from a .txt fileas input. We will then determine the average for eachstudent. Once you have the average show the user theletter Grade associated with the Average. In addition Youwill Show the Top 5 Students (First Name, Last Name,and Letter Grade)with the Highest Averages.• The program must use a switch argument.• The program must Read the file for input.• The program must be unique and titled.• Grades are by increments of 10.o 90 to 100 = Ao 80 to 89.9 = Bo 70 to 79.9 = Co 60 to 69.9 = Do 59 or less is F
Txt file. (Any name)
Alex Rodriguez 88 99 79 90 100Babe Ruth 64 63 96 75 71Clyde Dexter 65 92 74 55 99Fred Couples 60 94 76 71 73Greg Norman 84 70 68 52 57Honus Wagner 64 62 70 89 81Isiah Thomas 85 99 80 84 82Jack Nicklaus 97 64 50 70 84Joe DiMaggio 75 88 62 61 63Joe Montana 90 62 96 81 91Julius Irving 78 57 58 97 81Lawrence Taylor 67 86 80 65 91Marilyn Smith 88 68 52 86 63Michael Jordan 91 63 63 78 56Mildred Zaharias 81 66 53 78 82Nolan Ryan 84 80 72 53 69Roger Clemens 71 70 83 98 67Sam Snead 87 58 86 50 71Walter Payton 59 53 53 96 87William Perry 96 88 54 76 50Willy Mays 98 50 68 54 84Wilt Chamberlain 77 98 88 99 76David Baker 98 75 88 22 16Phillip Downy 89 33 98 78 84Notur Best 55 75 44 58 22
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here