Question: A C# program. 1-) Write a program that will produce a report showing the current and maximum enrollment for a number of classes. Your applications
1-) Write a program that will produce a report showing the current and maximum enrollment 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 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 slot. In the implementation class, declare parallel arrays and do a compile-time initialization for the name of the course, current enrollment, and maximum enrollment. Also declare an array of class objects in your implementation class. Test your application with the following data
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
