Assignemnt #18
Code
/// Name: Sam Menar
/// Period: 6
/// Program Name: MySchedule
/// File Name: MySchedule.java
/// Date Finished: 9/24/15
public class MySchedule
{
public static void main( String[] args )
{
String E;
String A;
String P;
String En;
String US;
String C;
E = "Electronics";
A = "Algebra 2 Trig";
P = "Physics";
En = "English 3";
US = "US History";
C = "Computer Programming";
System.out.println( "+---------------------------------------------------+");
System.out.println( "| 1 | " + E + " | Mr. Poehnert |");
System.out.println( "| 2 | " + A + " | Ms. Sillavo |");
System.out.println( "| 3 | " + P + " | Mr. Becker |");
System.out.println( "| 4 | " + En + " | Ms. Tate |");
System.out.println( "| 5 | " + US + " | Mr. Downing |");
System.out.println( "| 6 | " + C + " | Mr. Davis |");
System.out.println( "+---------------------------------------------------+");
}
}
Picture of the output