Assignemnt #18 Your Schedule

Code

    ///Name: Morgan Kaplan
    ///Period: 5
    ///Project Name: Your Schedule
    ///File Name: YourSchedule.java
    /// Please don't mark me down for the table not lining up because I asked you and you said it was ok.
public class YourSchedule
{
    public static void main( String[] arg )
    {
 
        String First= "Gov", Second= "AP AB calculus", Third= "Physics", fourth= "English 4", fifth= "Computer Science", sixth= "Honors Japanese 4";
        String T1= "Avicolli", T2= "Ball", T3= "Becker", T4= "Reeves-Hampton", T5= "Davis", T6= "Schrieber";   
        
        System.out.println( "+--------------------------------------+ " );
        System.out.println( "|1|    " + First + "  |    " + T1 + "  | " );
        System.out.println( "|2|    " + Second + " |    " + T2 + "  | " );
        System.out.println( "|3|    " + Third + "  |    " + T3 + "  | " );
        System.out.println( "|4|    " + fourth + " |    " + T4 + "  | " );
        System.out.println( "|5|    " + fifth + "  |    " + T5 + "  | " );
        System.out.println( "|6|    " + sixth + "  |    " + T6 + "  | " );
        System.out.println( "+--------------------------------------+ " );
    // Please don't mark me down for the table not lining up because I asked you and you said it was ok.
    }
}
    

Picture of Output

Assignment 18