Question: C# programming from problem analysis to program design fourth edition Write a two class solution that includes data members for the name of the course,
C# programming from problem analysis to program design fourth edition
Write a two class solution that includes data members for the name of the course, current enrollment, and maximum enrollment. Include an instance method that returns the number of students that can still enroll in the course. The ToString( ) method should return the name of the course, current enrollment, and the number of open slots. Declare an array of class objects in your implementation class. Test your application with the following data:
Class name Current enrollment Maximum enrollment
cs150 180 200
cs250 21 30
cs270 9 20
cs300 4 20
cs350 20 20
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
