Assignemnt #18 - Schedule.java

Code

    /// Name: James Hwang
    /// Period: 6
    /// Program Name: Schedule
    /// File Name: Schedule.java
    /// Date Finished: 9/15/2015
    
    public class Schedule{
        public static void main(String[] args){
            String a, b, c, d, e, f, g;
            String a1, b1, c1, d1, e1, f1, g1; 
            
            a = "French II";
            a1 = "Mrs. Mulhair";
            b = "AP AB Calculus";
            b1 = "Mr. Ball";
            c = "Physics";
            c1 = "Mr. Becker";
            d = "English II";
            d1 = "Ms. Hull";
            e = "AP Chemistry";
            e1 = "Mr. Morgan";
            f = "Intro to Computer Programming";
            f1 = "Mr. Davis";
            g = "SDAIE US Histroy";
            g1 = "Mrs. Yfantis";
            
            System.out.println("+------------------------------------------------------------+");
            System.out.println("| 1 |                        " + a + " |        "+ a1 +" |");
            System.out.println("| 2 |                   " + b + " |            "+ b1 +" |");
            System.out.println("| 3 |                          " + c + " |          "+ c1 +" |");
            System.out.println("| 4 |                       " + d + " |            "+ d1 +" |");
            System.out.println("| 5 |                     " + e + " |          "+ e1 +" |");
            System.out.println("| 6 |    " + f + " |           "+ f1 +" |");
            System.out.println("| 7 |                 " + g + " |        "+ g1 +" |");
            System.out.println("+------------------------------------------------------------+");
        }
    }
   
    

Picture of the output

Assignment 18