Question: C# A). Create a Student class. The class contains Fields for the student ID, student name, course ID array to save id(s) for three courses,

C#

A).

Create a Student class. The class contains Fields for the student ID, student name, course ID array to save id(s) for three courses, credit hours array to save credit hours for three courses, and a letter grade array to save the letter grade for three courses, choose the appropriate data type. Required properties. GetCourseID() and SetCourseID() to get and set course ID of a specific course. GetCreditHours() and SetCreditHours() to get and set credit hours of a specific course. GetGrade() and SetGrade() to get and set grade of a specific course. ToString() method

B).

Create a StudentApp class that creates an array of Student class to save records of maximum of 35 students. The program prompts a professor to enter student name, id and grades for three different courses for each of the students if the professor want to enter. Prompt the professor to enter data for one student at a time, including student ID, student name, and course data for three courses as shown in the sample output. Use prompts containing the number of the student whose data is being entered and the course numberfor example, Enter ID for student #1, and Enter course ID #2 as shown in the sample output. Verify that the professor enters only A, B, C, D, or F for the grade value for each course.

Sample Input/output Do you want to enter a record,

enter Y or N : Y For student # 1

enter the student ID : 1111

For student # 1 enter student name : Sam

For student #1, enter id for course # 1 : CMPT 1234

For student #1, enter credits for course #1 : 3

For student #1, enter grade for course #1 : R

For student #1, enter grade for course #1 : T

For student #1, enter grade for course #1 : A

Step by Step Solution

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 Databases Questions!