Assignment #18 and Your Schedule
Code
///Name: Tim Gibson
///Period: 6
///Project Name: Your Schedule
///File Name: Schedule.java
///Date: 9/17/15
public class Schedule
{
public static void main( String[] args )
{
String class1, class2, class3, class4, class5, class6, teacher1, teacher2, teacher3, teacher4, teacher5, teacher6;
class1 = "Choir";
teacher1 = "Ms. Hawkins";
class2 = "AP BC Calculus";
teacher2 = "Mr. Davis";
class3 = "AP English 4";
teacher3 = "Mr. Cautero";
class4 = "Advanced Drama";
teacher4 = "Mr. Hensley";
class5 = "Econ";
teacher5 = "Mr. Bradshaw";
class6 = "Programming";
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