Assignemnt #18 - Schedule.java

Code

    /// Name: Boris Kazantsev
    /// Period: 6
    /// Program Name: Schedule
    /// File Name: Schedule.java
    /// Date Finished: 9/20/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 = "Japanese 3";
            a1 = "Schrieber Sensei";
            b = "Pre-Calculus";
            b1 = "Mr. Thompson";
            c = "English 3";
            c1 = "Mr. Dewes";
            d = "Physics";
            d1 = "Mr. Becker";
            e = "Us History";
            e1 = "Mr. Downing";
            f = "Intro to Computer Programming";
            f1 = "Mr. Davis";
            
            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("+------------------------------------------------------------+");
        }
    }
   
    

Picture of the output

Assignment 18