Question: C# PROGRAM Write a C# program that creates a ProfessorRating class consisting of professor ID and three ratings. The three ratings are used to evaluate
C# PROGRAM
Write a C# program that creates a ProfessorRating class consisting of professor ID and three ratings. The three ratings are used to evaluate easiness, helpfulness, and clarity. The value for each rating is in the range of 1 to 5, with 1 is the lowest and 5 is the highest. Test this class in Program class, Main() method, allow the user to enter the value for each rating. Include appropriate constructors and properties in ProfessorRating class. Do not allow the ID to be changed after an object has been constructed. Provide a method in the ProfessorRating class to compute and return the overall rating average, and ToString() method to display all ratings and the average rating formatted with no decimal points
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
