1. Declare a Vector to hold the names of courses offered in theCSC department fo
ID: 3610740 • Letter: 1
Question
1. Declare a Vector to hold the names of courses offered in theCSC department for a given semester. Example, "CSC160 Java","CSC126 Game Design", "CSC116 Logic and Design", etc.
2. Let the user do one of the following options:
1. Print back the list of courses offeredalong with the number of courses offered
(number of elements inVector).
2. Lookup some courses. The user can enter something like Javaand the program will print back any course that has the word Javain it (if any). You might be using some of the String methods suchas the ones used in table 10-3 pg.622.
3. Add a course. The user can add a new course name to the endof the list.
4. Remove a course from the list.