Question: Using C# I have a Student object that looks like public Student(string StudentID, string Name, string Status, Enum StudentMajor, string[][] CompletedCourses) CompletedCourses is supposed to

Using C# I have a Student object that looks like public Student(string StudentID, string Name, string Status, Enum StudentMajor, string[][] CompletedCourses)

CompletedCourses is supposed to take the name of the course and a grade received but the student can take the course 3 times if they fail the first time, for example

{"CS50" ["F", "B", ""]} //student failed the first time and received a B on their second attempt

{"Algebra" [ "B+"]}

the student above completed two courses and received the grades "A" and "B" what type of array should I use to basically allow the Course Name(e.g CS50) to have its own array to store the grade(s) received in that course? I hope this makes sense.

This is what the question looks like

Create the following objects

Student – holds details about student

Student id, student name, status (full time/part-time), student major and courses the student has completed (use appropriate collection to store the course completed). When storing the courses completed also include the grade the student obtained in that course, the student can do one course three times, ensure your collection stores all the grades obtained for that course even though it may be a failed grade.

Step by Step Solution

3.49 Rating (146 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!