Question: Need help with coding in visual basic You are to write a program to process student grades. Each student takes four courses: Math, CS ,
Need help with coding in visual basic
You are to write a program to process student grades. Each student takes four courses: Math, CS English, Business. The data are stored in a file examtxt where the first line contains the subject of four courses, followed by each line consisting of the name of student First Name, Last Name student ID which is digit string, and the scores of four courses that each student is taking.
The input file contains the following data:
Math, CS English, Business
Jon, Benson,
Brian, Gause,
Ron, Heath,
June, King,
Luke, Savon,
Tom, McClure,
Matt, Liskov,
Matthew, Moses,
Justin, York,
Show the whole data in a tabular format like this in a list box.
tableFirstLast,IDMath,CSEnglishBusinessJonBenson,BrianGause,RonHeath,JuneKing,LukeSavon,TomMcClure,MattLiskov,MatthewMoses,JustinYork,
Show the course average for each course. There should be one decimal digit.
tableCourse average,Math:CS:English:Business:
Show the number of students failed in each course the scores less than
Number of failed students in each course
Math:
CS:
English:
Business:
Show the name and score of the highest score for each course. If there are the same highest scores, show them all.
Highest score
Math: Justin York
CS: June King
English: Ron Heath, Mattew Moses
scores less than
Number of failed students in each course
Math:
CS:
English:
Business:
Show the name and score of the highest score for each course. If there are the same highest scores, show them all.
Highest score
Math: Justin York
CS: June King
English: Ron Heath, Mattew Moses
Business: Brian Gause
Show the data sorted by student's last name:
FirstLast,IDMath,CSEnglish,Business
JonBenson,
BrianGause,
RonHeath,
JuneKing,
MattLiskov,
TomMcClure,
MatthewMoses,
LukeSavon,
JustinYork,
Search for student's last name and show the student name, ID each score and its grade, and the overall grade.
is for is for is for is for D and is for F For example, it the search was done for King, the output should look like this:The overall grade can be obtained with the following formula for June King: Show two decimal digits after the decimal digit for the grade
Bonus: pts Use the following input data to show the output for the same tasks as in # #History, Biology, English, Business, CS Ron, Heath, June, King,Jon, Benson,Tom, McClure,Matt, Liskov,Matthew, Moses,Justin, York,
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
