Assignment #18
Code
/// Gian Adoremos
/// Period: 7
/// Program Name: Eighteenth Program
/// File Name: YourSchedule.java
/// Date Finished: 9/24/2015
public class YourSchedule
{
public static void main( String[] args )
{
String class1, class2, class3, class4, class5, class6, class7, teacher1, teacher2, teacher3, teacher4, teacher5, teacher6, teacher7;
class1= " Electronics ";
class2= " Study Hall ";
class3= " Pre-Calculus ";
class4= " English IV ";
class5= " Government/Economics ";
class6= " P.E. Weight-Training ";
class7= " Introduction to Computer Programming ";
teacher1= " Mr. Poenhert ";
teacher2= " Dax ";
teacher3= " Mr. Thompson ";
teacher4= " Mrs. Reeves Hampton ";
teacher5= " Mr. Avicolli/Mr. Bradshaw ";
teacher6= " Mr. Longero ";
teacher7= " Mr. Davis ";
System.out.println( " Period 1 " + class1 + teacher1 );
System.out.println( " Period 2 " + class2 + teacher2 );
System.out.println( " Period 3 " + class3 + teacher3 );
System.out.println( " Period 4 " + class4 + teacher4 );
System.out.println( " Period 5 " + class5 + teacher5 );
System.out.println( " Period 6 " + class6 + teacher6 );
System.out.println( " Period 7 " + class7 + teacher7 );
}
}
Picture of the output