Description Here is a sample interaction between a user and the program you will write in the exercise. (User input is in bold.) Enter file name: c:\\info.txt Name Scorel Score2 Score3 Total Andy Borders John Smith John Borell 200 250 400 850 120 220 330 670 250 250 500 1000 Robert Fennel 350 200 230 150 700 Craig Fenner Bill Johnson 220 480 930 120 150 220 490 Brent Garland 220 240 350 810 The total number of student in this class is: 7 The average total score of the class is: John Borell got the maximum score of: Bill Johnson got the minimum score of: 778 1000 490 Note that the filen ame supplied includes the full path. Specify a full path or the IDE will not find the file. The program performs the following actions: 1. Ask the user for the name of a file containing information about stu dent scores and input the file name. (See “Input file format" for a description of the format of the file.) 2. Input the student information from the file and store in an appropri ate array of Student objects. See "Setup" for a description of this. 3. Output a well-formatted table containing the name, individual scores and total score for each student. 4. Output the number of students in the class, the average total score, the maximum total score and the minimum total score in the class, including the names of the students with the maximum and minimum scores.
Description Here is a sample interaction between a user and the program you will write in the exercise. (User input is in bold.) Enter file name: c:\\info.txt Name Scorel Score2 Score3 Total Andy Borders John Smith John Borell 200 250 400 850 120 220 330 670 250 250 500 1000 Robert Fennel 350 200 230 150 700 Craig Fenner Bill Johnson 220 480 930 120 150 220 490 Brent Garland 220 240 350 810 The total number of student in this class is: 7 The average total score of the class is: John Borell got the maximum score of: Bill Johnson got the minimum score of: 778 1000 490 Note that the filen ame supplied includes the full path. Specify a full path or the IDE will not find the file. The program performs the following actions: 1. Ask the user for the name of a file containing information about stu dent scores and input the file name. (See “Input file format" for a description of the format of the file.) 2. Input the student information from the file and store in an appropri ate array of Student objects. See "Setup" for a description of this. 3. Output a well-formatted table containing the name, individual scores and total score for each student. 4. Output the number of students in the class, the average total score, the maximum total score and the minimum total score in the class, including the names of the students with the maximum and minimum scores.
Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter6: Sub And Function Procedures
Section: Chapter Questions
Problem 10E
Related questions
Question
The code must be in Java
Use arrays for this. Do not use ArrayLists.
-
Read all input as Strings. Use Integer.parseInt(String integer_value) to get the numeric value from it.
-
To create each new element in the array of students use the new keyword and the Student constructor. I.e., studentList[i] = new Student(line, Integer.parseInt(line1),…
info.txt
9
Andy Borders
200
250
400
John Smith
120
220
330
Alvin Smith
225
300
278
Mike Borell
250
250
500
Jim Jones
325
325
155
Robert Fennel
200
150
350
Craig Fenner
230
220
480
Bill Johnson
120
150
220
Brent Garland
220
240
350
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning