Assignemnt #18 and My Schedule
Code
/// Name: Raff Lisbona
/// Period: 6
/// Program Name: My Schedule
/// File Name: MySchedule.java
/// Date Finished: 9/24/2015
public class MySchedule
{
public static void main( String[] args )
{
String class1, class2, class3, class4, class5, class6;
String teacher1, teacher2, teacher3, teacher4, teacher5, teacher6;
class1 = "English III";
class2 = "Peer Tutoring";
class3 = "AP AB Calculus";
class4 = "US History";
class5 = "Auto Shop";
class6 = "Computer Programing";
teacher1 = "Mr. Collins";
teacher2 = "Ms. Morse";
teacher3 = "Mr. Karas";
teacher4 = "Ms. Yfantis";
teacher5 = "Mr. Boone";
teacher6 = "Mr. Davis";
System.out.println( "+-------------------------------------------------------+" );
System.out.println( "| 1 | " + class1 + " | " + teacher1 + " |" );
System.out.println( "| 2 | " + class2 + " | " + teacher2 + " |" );
System.out.println( "| 3 | " + class3 + " | " + teacher3 + " |" );
System.out.println( "| 4 | " + class4 + " | " + teacher4 + " |" );
System.out.println( "| 5 | " + class5 + " | " + teacher5 + " |" );
System.out.println( "| 6 | " + class6 + " | " + teacher6 + " |" );
System.out.println( "+-------------------------------------------------------+" );
}
}
Picture of the output