Assignemnt #18 and My Schedule
Code
///Name: Daniel Tiffany-Appleton
///Period: 7
///Program Name: My Schedule
///File Name: MySchedule
///Date Finished:
public class MySchedule
{
public static void main( String[] args )
{
String MrsG, MrsH, MrT, MrM, MrsT, MrsP, MrD, Per1, Per2, Per3, Per4, Per5, Per6, Per7;
MrsG = "Mrs. Gieleghem";
MrsH = "Mrs. Harvey";
MrT = "Mr. Thompson";
MrM = "Mr. Morgan";
MrsT = "Mrs. Tate";
MrsP = "Mrs. Polivka";
MrD = "Mr. Davis";
Per1 = "Drama I";
Per2 = "AP US History";
Per3 = "Pre-Calculus";
Per4 = "AP Chemistry";
Per5 = "English III";
Per6 = "Physiology";
Per7 = "Computer Programming";
System.out.println( "+--------------------------------------------------+" );
System.out.println( "| 1 | " + Per1 +"| " + MrsG +"|" );
System.out.println( "| 2 | " + Per2 +"| " + MrsH +" |" );
System.out.println( "| 3 | " + Per3 +"| " + MrT +" |" );
System.out.println( "| 4 | " + Per4 +"| " + MrM +" |" );
System.out.println( "| 5 | " + Per5 +"| " + MrsT +" |" );
System.out.println( "| 6 | " + Per6 +"| " + MrsP +" |" );
System.out.println( "| 7 | " + Per7 +"| " + MrD +" |" );
System.out.println( "+--------------------------------------------------+" );
}
}
Picture of the output