Jay Patel

Jay Patel

  • NA
  • 21
  • 14.1k

I want this question to be solved through methods and class

Feb 10 2015 1:17 PM

1.      please help!! the answer should be in simple c# coding not high class and should include classes and methods

a. Create a program named SchoolsDemo that allows a user to enter data about five School objects and then displays the School objects in order of enrollment size from smallest to largest. The School class contains fields for the School name and number of students enrolled and properties for each field.

 

b. Create a program named SchoolMinEnroll that modifies the SchoolsDemo program created in Exercise 8a so that after the School objects are displayed in order,the program prompts the user to enter a minimum enrollment figure. Display all School objects that have an enrollment at least as large as the entered value.


Answers (2)