Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Part 1 : Each line of the file scores . txt has a student s first name, their last name, and five scores between 0
Part : Each line of the file scorestxt has a students first name, their last name, and five scores between and Write a Java program to read the file and print to the console System.out the average grade for each student, and the name of the student with the highest average. For the sample data file provided, your output should be something similar to:
Average for Amy Anderson is:
Average for Bobby Baker is:
Average for Carlos Castillo is:
Average for Demitri Danilov is:
Average for Emily Estrada is:
Bobby Baker had the highest average score
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started