Question: College Application Program
Please read the following carefully and submit the program code.
Question # 144
A college is good if it satisfies the following conditions:
Its number of students is greater than 1000. If the name ends wih a character 'e', then it should not start with character 'a' (case insensitive) No. of courses offered should be greater than 5. If "M.Tech" is one of the courses offered, it must also offer "B.Tech" and "MCA" courses. If "MBBS" is one of the courses, it must not offer a "B.Tech" Course. If it has a "B.Tech" course, atleast 30 compnies should have come for placement. (But see next condition) If "Infosys" or "Wipro" have come for placement, the requirement of number of companies is relaxed to 15 companies.
Write a method:
boolean isGoodCollege(String name, int numStudents, String coursesOffered, String campusPlacement)
name Name of the college. numStudents Number of students in the college. coursesOffered String array containing the list of courses offered by the college. campusPlacement String array containing the list of companies that have offered campus placement. Can be null if no companies have offered placement.
please write the code for the above requirement