Assignemnt #18 and Your Schedule
Code
/// Name: Brian Phillips
/// Period: 5
/// Program name: Your Schedule
/// File Name: YourSchedule.java
/// Date Finished: 9/21/2015
public class YourSchedule
{
public static void main( String[] args )
{
String period1, period2, period3, period4, period5, period6, period7,
teacher1, teacher2, teacher3, teacher4, teacher5, teacher6, teacher7;
period1 = " Calculus AB AP";
period2 = " English IV";
period3 = " Forensic Science";
period4 = " Economics/Government";
period5 = " Computer Programming";
period6 = "Engineering and Applied Physics";
period7 = " Free Period";
teacher1 = " Mr. Ball";
teacher2 = " Mr. Cautero";
teacher3 = " Mr. Sutherland";
teacher4 = " Mr. Bremer";
teacher5 = " Mr. Davis";
teacher6 = " Mr. Becker";
teacher7 = " Free Period";
System.out.println( "+-----------------------------------------------------+" );
System.out.println( "| 1 |" + period1 + " |" + teacher1 + " |" );
System.out.println( "| 2 |" + period2 + " |" + teacher2 + " |" );
System.out.println( "| 3 |" + period3 + " |" + teacher3 + " |" );
System.out.println( "| 4 |" + period4 + " |" + teacher4 + " |" );
System.out.println( "| 5 |" + period5 + " |" + teacher5 + " |" );
System.out.println( "| 6 |" + period6 + " |" + teacher6 + " |" );
System.out.println( "| 7 |" + period7 + " |" + teacher7 + " |" );
System.out.println( "+-----------------------------------------------------+" );
}
}
Picture of the output