Assignemnt #18 and Your Schedule
Code
///Name: Dakota Donahue
///Period: 5
///Project Name: Your Schedule
///File Name: YourSchedule
///Date: 9/15/2015
public class YourSchedule
{
public static void main( String[] args )
{
String class1, class2, class3, class4, class5, class6, teacher1, teacher2, teacher3, teacher4, teacher5, teacher6;
class1= "Calc AB";
class2= "AP Gov/Econ";
class3= "PE 10";
class4= "English 4";
class5= "Intro to Programming";
class6= "Japanese 4";
teacher1= "Mr. Ball";
teacher2= "Mr. Bremer/Mr. Bradshaw";
teacher3= "Mr. Kruger";
teacher4= "Mr. Ridenour";
teacher5= "Mr. Davis";
teacher6= "Schreiber Sensei";
System.out.println("+-------------------------------------------------+");
System.out.println("| 1 | " + class1 + " | " + teacher1 + " |");
System.out.println("| 2 | " + class2 + " | " + teacher2 + " |");
System.out.println("| 3 | " + class3 + " | " + teacher3 + " |");
System.out.println("| 4 | " + class4 + " | " + teacher4 + " |");
System.out.println("| 5 | " + class5 + " | " + teacher5 + " |");
System.out.println("| 6 | " + class6 + " | " + teacher6 + " |");
System.out.println("+-------------------------------------------------+");
}
}
Picture of the output