Assignment #18
Code
///name: Jack Newsom
///period 6
///Program Name: YourSchedule
///Filename: YourSchedule.java
///date completed: 9/14/15
public class YourSchedule
{
public static void main( String[] args)
{
String c1,c2,c3,c4,c5,c6,t1,t2,t3,t4,t5,t6;
c1="US Government";
c2="English 4";
c3="AP Calculus AB";
c4="AP Statistics";
c5="Intro to Computer Programming";
c6="Honors Engineering";
t1="Mr. Avicolli";
t2="Mr. Ridenour";
t3="Mr. Karas";
t4="Mr. Thompson";
t5="Mr. Davis";
t6="Mr. Becker";
System.out.println("+---------------------------------------------------------+");
System.out.println("|1:"+c1+" "+t1+" |");
System.out.println("|2:"+c2+" "+t2+" |");
System.out.println("|3:"+c3+" "+t3+" |");
System.out.println("|4:"+c4+" "+t4+" |");
System.out.println("|5:"+c5+" "+t5+" |");
System.out.println("|6:"+c6+" "+t6+" |");
System.out.println("+---------------------------------------------------------+");
}
}
Picture of the output