Question: Q1) Write a Java program that uses regular expressions to count the number of academic courses in a text file that belong to each of

Q1) Write a Java program that uses regular expressions to count the number of academic courses in a text file that belong to each of the Computer Science department, Information Systems department, and Engineering department. (You have to enter some academic courses codes in a text file, and then display the number of courses in each department) For example: CSC 340 CEN 341 CSC 113 IS 230 Computer Science department = 2 courses Information Systems department = 1 course Engineering department = 1 course
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
