Assignment 18

Code

    ///Name:Nick Quijivix
    ///Period:7
    ///Date:9/24/15
    
    
    public class mySchedule
    {
        public static void main( String [] args )
        {
        
        String class1, class2, class3, class4, class5, class6, class7, teacher1, teacher2, teacher3, teacher4, teacher5, teacher6, teacher7;
        
        class1= "Teacher Assistant.";
        class2= "Math Applications.";
        class3= "Geology.";
        class4= "English 4.";
        class5= "Economics.";
        class6= "Weight Training.";
        class7= "Intro to Computer Programming.";
        
        teacher1= "Mr. Merken";
        teacher2= "Mr. Lewis";
        teacher3= "Mr. Morse";
        teacher4= "Mrs. Reeves-Hampton";
        teacher5= "Mr. Bradshaw";
        teacher6= "Mr. Longero";
        teacher7= "Mr. Davis";
        
        System.out.println( "1st period: " + class1 + " Teacher: " + teacher1 );
        System.out.println( "2nd period: " + class2 + " Teacher: " + teacher2 );
        System.out.println( "3rd period: " + class3 + " Teacher: " + teacher3 );
        System.out.println( "4th period: " + class4 + " Teacher: " + teacher4 );
        System.out.println( "5th period: " + class5 + " Teacher: " + teacher5 );
        System.out.println( "6th period: " + class6 + " Teacher: " + teacher6 );
        System.out.println( "7th period: " + class7 + " Teacher: " + teacher7 );
        
        }
    }
    

Picture of the output

Assignment 18