Assignment #18

Code

///Name: Mahima Choudhary
///Period: 6
///Project Name: YourSchedule
///File Name: YourSchedule
///Date Finished: 9/24/15

public class YourSchedule
{
    public static void main( String[] args )
        {

  
         String a1, a2, a3, a4, a5, a6, a7, x1, x2, x3, x4, x5, x6, x7 ;
            a1 = "Physics";
            a2 = " Pre Calc ";
            a3 = "English III Honors";
            a4 = "Spanish IIII Honors";
            a5 = "AP Psychology";
            a6 = "Comp Programing";
            a7 = "History";
            x1 = "Mr.Becker";
            x2 = "Mr.Thompson";
            x3 = "Ms.Gieleghem";
            x4 = "Ms.Wilkerson";
            x5 = "Ms.Heckmann";
            x6 = "Mr. Davis";
            x7 = "Mr.Spier";
        
        
        
        
        
        
        
    System.out.println( "+------------------------------------------------------------+");
    System.out.println( "|                   " + a1 + "  | " + x1 + "                 |");
    System.out.println( "|                   " + a2 + "  | " + x2 + "                 |");
    System.out.println( "|                   " + a3 + "  | " + x3 + "                 |");
    System.out.println( "|                   " + a4 + "  | " + x4 + "                 |");
    System.out.println( "|                   " + a5 + "  | " + x5 + "                 |");
    System.out.println( "|                   " + a6 + "  | " + x6 + "                 |");
    System.out.println( "|                   " + a7 + "  | " + x7 + "                 |");
    System.out.println( "|                                                            |");
    System.out.println( "|                                                            |");
    System.out.println( "+------------------------------------------------------------+");
        }
}
 

Picture of the output

YourSchedule.html