Assignment #18

Code

/// Name: Dr. Jonathan Stine 
/// Period 5
/// Program Name: MySchedule
/// File Name: MySchedule.java
/// Date Finished: 9/24/2015

    public class MySchedule
    {
        public static void main( String[] args )
        {
            String class1, class2, class3, class4, class5, class6, teach1, teach2, teach3, teach4, teach5, teach6;
            class1="AP Calc AB";
            class2="AP Gov/Econ";
            class3="English 4";
            class4="Avanced Drama";
            class5="Computer Programming";
            class6="Honors Engineering";
            teach1="Mr. Ball";
            teach2="Mr. Bradshaw";
            teach3="Mrs. Gunnison";
            teach4="Mr. Hensley";
            teach5="Mr. Davis";
            teach6="Mr. Becker";
            
            System.out.println("|1|" + " " + class1 + " " + "|" + " " + teach1);
            System.out.println("|2|" + " " + class2 + " " + "|" + " " + teach2);
            System.out.println("|3|" + " " + class3 + " " + "|" + " " + teach3);
            System.out.println("|4|" + " " + class4 + " " + "|" + " " + teach4);
            System.out.println("|5|" + " " + class5 + " " + "|" + " " + teach5);
            System.out.println("|6|" + " " + class6 + " " + "|" + " " + teach6);
        }
    }
      

    

Code Output