Assignemnt #18 Your Schedule
Code
/// Name: Tyler Hart
/// Period: 5
/// Program Name: Your Schedule
/// File Name: YourSchedule.java
/// Date Finished: 9/15/2015
public class YourSchedule
{
public static void main( String[] args )
{
String course1, course2, course3, course4, course5, course6, teacher1, teacher2, teacher3, teacher4, teacher5, teacher6;
course1 ="English 4";
course2 ="AP BC Calculus";
course3 ="Econ";
course4 ="Study hall";
course5 ="Computer programing";
course6 ="Enginnering";
teacher1 ="Ms. Gunnison";
teacher2 ="Mr. Davis";
teacher3 ="Mr. Bremer";
teacher4 ="Mr. Harris";
teacher5 ="Mr. Davis";
teacher6 ="Mr. Becker";
System.out.println( "+--------------------------------------------------+" );
System.out.println( "| 1 | " + course1 + "| " + teacher1 + "|");
System.out.println( "| 2 | " + course2 + "| " + teacher2 + "|");
System.out.println( "| 3 | " + course3 + "| " + teacher3 + "|");
System.out.println( "| 4 | " + course4 + "| " + teacher4 + "|");
System.out.println( "| 5 | " + course5 + "| " + teacher5 + "|");
System.out.println( "| 6 | " + course6 + "| " + teacher6 + "|");
System.out.println( "+--------------------------------------------------+" );
}
}
Picture of the output