Assignment #18 My Schedule

Code

      ///Name: Ian Grant
      ///Period:5
      ///Project Name: Schedule
      ///File Name:Schedule.java
      ///10/9/15
      
      public class Schedule {
          public static void main(String[] args)
          {
              String p1,p2,p3,p4,p5;
              String t1,t2,t3,t4,t5;
              p1="Government";
              p2="English 4";
              p3="Forensics";
              p4="Auto Tech Adv";
              p5="Computer Programming";
              t1="Mr.Avicoli";
              t2="Mr.Ridenour";
              t3="Mr.Sutherland";
              t4="Mr.Boone";
              t5="Mr.Davis";
              System.out.println("+------------------------------------------------------------+");
              System.out.println("| 1 |                       "+p1+"      |     "+t1+" |");
              System.out.println("| 2 |                       "+p2+"       |     "+t2+"|");
              System.out.println("| 3 |                       "+p3+"       |  "+t3+" |");
              System.out.println("| 4 |                        "+p4+"  |       "+t4+" |");
              System.out.println("| 5 |                "+p5+"   |       "+t5+" |");
              System.out.println("+------------------------------------------------------------+");
          }
      }
      

Output