Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David M. Kroenke, David Auer

11th Edition

B003Y7CIBU, 978-0132302678

More Books

Students also viewed these Databases questions

Question

=+4 How does one acquire a global mindset?

Answered: 1 week ago