Assignemnt #18

Code

    /// Colin Hinton
    /// 5th Period
    /// Schedule
    /// Schedule.java
    /// 9/14/2015   
    
    class Schedule
    {
        public static void main (String [] args)
        {
            String class1, class2, class3, class4, class5, class6, teach1, teach2, teach3, teach4, teach5, teach6;
            
           
            class1= "Chorale";
            teach1= "Ms. Hawkins";
            System.out.println("|1|" + class1 + " |" + teach1 + "|");
            class2= "English IV";
            teach2= "Mr. Kautero";
            System.out.println("|2|" + class2 + " |" + teach2 + "|");
            class3= "Government";
            teach3= "Bradshaw";
            System.out.println("|3|" + class3 + " |" + teach3 + "|");
            class4= "Advance Drama";
            teach4= "Mr. Hensley";
            System.out.println("|4|" + class4 + " |" + teach4 + "|");
            class5= "Computer Science";
            teach5= "Mr. Davis";
            System.out.println("|5|" + class5 + " |" + teach5 + "|");
            class6= "AP Calculus";
            teach6= "Mr. Karas";
            System.out.println("|6|" + class6 + " |" + teach6 + "|");
        }
    }
    

Picture of the output

Assignment 1