URGENT (1 DAY), MAX 60$
You are to develop a program in the Go programming language (golang) to read Student data from an input fileinto a list/collection. You are to store the students in a collection in such a way that when they are displayed to the screen, they are in sorted order by lastname (then firstname to break name ordering ties).
Each student will use three lines of data in the data file in the following format:
ist of integer test grades
list of integer homework grades
You may assume there are no errors in the data. I will not leave data out or put non-numeric data in numeric fields. Data is separated by white space. You must read until the end of the file is [login to view URL] will additionally prompt the user for the weight to be applied to the test average in your overall computation. (Homeworks use the remaining weight %).You will compute the student’s test average, homework average and an individual weighted average for each student in the list. You will compute an overall class average from the students individual averages.
Summary of Operation:
•Prompt the user for the input file name. DO NOT hardcode file names into your program.
•Prompt the user for the weighted % amount to apply to the tests portion of the grade.
•Open input file
•Read each studentand add them toyour data set
•Write a report summary line to the screen.
•Write each itemfrom the list formatted to the screen, along with any other output required by the assignment
•Mark each student that has a higher computed average than the class’s average.