Click here to Skip to main content
15,901,283 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Write a program in C# that creates a ProfessorRating class consisting of professor ID and three ratings. The three ratings are used to evaluate easiness, helpfulness, and clarity.
In a separate implementation class, allow the user to enter the values. Call the constructor to create an instance of the ProfessorRating class. Include appropriate properties. 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.
Posted

Sorry, but that is not how this site works; you are expected at least to try and do your own homework. There are more than enough articles both here[^], and in the wider internet, that you can study to get some ideas.
 
Share this answer
 
<<creates a ProfessorRating class consisting of professor ID and three ratings.>>
<<Provide a method in the ProfessorRating class to compute and return the overall rating average..>>
<<In a separate implementation class, allow the user to enter the values..>>
http://msdn.microsoft.com/en-us/library/x9afc042.aspx[^]

<<Do not allow the ID to be changed after an object has been constructed>>
http://msdn.microsoft.com/en-us/library/w86s7x04%28v=VS.80%29.aspx[^]

Mike
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900