Suppose that a course has up to 15 students enrolled and that three exams are given during the semester. Write a program that accepts each student’s name and grades as input, places the names in a one-dimensional array, and places the grades in a two-dimensional array. The program should then display each student’s name and semester average. Also the program should display the median for each exam. (For an odd number of grades, the median is the middle grade after the grades have been ordered. For an even number of grades, it is the average of the two middle grades.) See the figure below.
|Name Property||Text Property||Control Type||Notes|
|txtName||TextBox||Captures student name|
|btnAdd||Add Student||Button||Triggers event to add student and grades to arrays|
|btnDisplay||Display Report||Button||Triggers event to display results|
|txtExam1||TextBox||Captures score for first exam|
|txtExam2||TextBox||Captures score for second exam|
|txtExam3||TextBox||Captures score for third exam|