Question: Write a C# program that will produce a report showing the current and max- imum enrollments for a number of classes. Your applications should be
Write a C# program that will produce a report showing the current and max- imum enrollments for a number of classes. Your applications should be designed with two classes. The first class should include data members for the name of the course, current enrollment, and maximum enroll- ment. 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. In the implementation class, declare parallel arrays and do a compile-time initialization for the name of the course, current enroll- ment, and maximum enrollment. Also declare an array of class objects in your implementation class. Test your application with the following data:

Current Maximum Class name enrollment enrollment CS150 180 21 CS270 20
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
