Using C# I have a Student object that looks like public Student(string StudentID, string Name, string Status,
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 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.
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill