Assignment #18 and Your Schedule

Code

    /// Name: Brendan Baird
    /// Period: 6
    /// Program Name: Your Schedule
    /// File Name: YourSchedule.java
    /// Date Finished: 9/21/2015
    
    public class YourSchedule
    {
        public static void main( String[] args )
        {
            String course1, course2, course3, course4, course5, course6;
            String teach1, teach2, teach3, teach4, teach5, teach6;
            
            course1 = "English 4";
            course2 = "Economics";
            course3 = "Calculus";
            course4 = "Physics";
            course5 = "French 4";
            course6 = "Computer Science";
            
            teach1 = "Mr. Cautero";
            teach2 = "Mr. Bremer";
            teach3 = "Mr. Karas";
            teach4 = "Mr. Becker";
            teach5 = "Ms. Mulhair";
            teach6 = "Mr. Davis";
            
            System.out.println("+--------------------------------------------------+");
            System.out.println("| 1 |                 " + course1 + "|       " + teach1 + " |");
            System.out.println("| 2 |                 " + course2 + "|        " + teach2 + " |");
            System.out.println("| 3 |                  " + course3 + "|         " + teach3 + " |");
            System.out.println("| 4 |                   " + course4 + "|        " + teach4 + " |");
            System.out.println("| 5 |                  " + course5 + "|       " + teach5 + " |");
            System.out.println("| 6 |          " + course6 + "|         " + teach6 + " |");
            System.out.println("+--------------------------------------------------+");
        }
    }
    

Picture of the output

Assignment 18