Create a file called CourseMaker.java. Also, copy the files MethodHolder.java, Student.java, and Course.java (from Project 1) into the same folder as CourseMaker.java.

The main method of CourseMaker should do the following things:
  1. Ask the user how many Courses you want to enter, get the int from the user, and save it in a variable.
  2. Declare a Course array of the size specified by the user.
  3. Using a for-loop, loop through each element of the Course array, setting each equal to MethodHolder.generateCourse()
  4. Using a for-loop, loop through each element of the Course array, calling MethodHolder.printCourseInfo each time with the current element as the parameter.
Note that your output will look very different from the sample output, based on whatever you enter.

Program output example:

$ java CourseMaker
How many courses?
3

Course number 1:
Title: Introduction to Java
Department: IT
Credits: 3
Maximum Students: 25

Course number 2:
Title: Introduction to Java II
Department: IT
Credits: 20
Maximum Students: 20

Course number 3:
Title: Web Design
Department: IT
Credits: 3
Maximum Students: 30

Course number 1:
              Title: Introduction to Java
         Department: IT
            Credits: 3
         Enrollment: 0
               Cost: 1036.77
Course is intensive? false
Students enrolled: 
No students to list...

Course number 2:
              Title: Introduction to Java II
         Department: IT
            Credits: 20
         Enrollment: 0
               Cost: 6911.799999999999
Course is intensive? true
Students enrolled: 
No students to list...

Course number 3:
              Title: Web Design
         Department: IT
            Credits: 3
         Enrollment: 0
               Cost: 1036.77
Course is intensive? false
Students enrolled: 
No students to list...

        
Question: How did the process of editing this program go for you? What were your main challenges and how did you overcome them? What did you learn that may be of use as you move along in this class?