Assignment #17
Code
/// Name: Kabir Virk
/// Period: 6
/// Program Name: YourSchedule
/// File Name: YourSchedule.java
/// Date Finished: 9/24/2015
public class YourSchedule
{
public static void main( String[] args )
{
String a;
String b;
String c;
String d;
String e;
String f;
String g;
a = "AP Psych";
b = "Math Analysis";
c = "Physics";
d = "English 3";
e = "Spanish 3";
f = "Computer Programming";
g = "US History";
System.out.println( "+---------------------------------------------------+");
System.out.println( "| 1 | " + a + " | Mrs. Heckman |");
System.out.println( "| 2 | " + b + " | Mr. Franks |");
System.out.println( "| 3 | " + c + " | Mr. Becker |");
System.out.println( "| 4 | " + d + " | Ms. Tate |");
System.out.println( "| 5 | " + e + " | Mrs. DaRe |");
System.out.println( "| 6 | " + f + " | Mr. Davis |");
System.out.println( "| 7 | " + g + " | Mr. Speir |");
System.out.println( "+---------------------------------------------------+");
}
}
Picture of the output