Assignemnt #18: My Schedule

Code

    /// Name: Cassie
    /// Period: 6
    /// Program Name: Your Schedule
    /// File Name: MySchedule.java
    /// Date Finished: 9/22/2015
    
    class MySchedule
    {
        public static void main( String[] args )
        {
            String course1, course2, course3, course4, course5, course6, teacher1, teacher2, teacher3, teacher4, teacher5, teacher6;
            course1 = "Economy";
            course2 = "Staff Assistant";
            course3 = "AP English IV";
            course4 = "Physiology";
            course5 = "Wind Ensemble";
            course6 = "Intro to Computer Programming";
            teacher1 = "Mr. Bremer";
            teacher2 = "Mrs. Rigisich";
            teacher3 = "Mr. Catero";
            teacher4 = "Mr. Merken";
            teacher5 = "Ms. Ravina";
            teacher6 = "Mr. Davis";
            
            System.out.println( "+-----------------------------------------------+");
            System.out.println( "|1| " + course1 + "                       |" + teacher1 + "   |");
            System.out.println( "|2| " + course2 + "               |" + teacher2 + "|");
            System.out.println( "|3| " + course3 + "                 |" + teacher3 + "   |");
            System.out.println( "|4| " + course4 + "                    |" + teacher4 + "   |");
            System.out.println( "|5| " + course5 + "                 |" + teacher5 + "   |");
            System.out.println( "|6| " + course6 + " |" + teacher6 + "    |");
            System.out.println( "+-----------------------------------------------+");
        }
    }
    

Picture of the output

Assignment 18