Assignment 18; MySchedule
Code
// Name: Donovan Rich
// Period: 6
// Name of Program: My Schedule
// Name of File: MySchedule.java
// Date Completed: 9/23/2015
public class MySchedule {
public static void main( String[] args ) {
String p1, p2, p3, p4, p5, p6, prof1, prof2, prof3, prof4, prof5;
p1 = "Forensics";
p2 = "Calculus BC";
p3 = "Government";
p4 = "English IV";
p5 = "Public Speaking II";
p6 = "Programming";
prof1 = "Sutherland";
prof2 = "Davis";
prof3 = "Bradshaw";
prof4 = "Ridenhour";
prof5 = "Reeves-Hampton";
System.out.println( "_______________________________________" );
System.out.println( "1)" + p1 + " |" + " " + prof1 + " |" );
System.out.println( "2)" + p2 + " |" + " " + prof2 + " |" );
System.out.println( "3)" + p3 + " |" + " " + prof3 + " |" );
System.out.println( "4)" + p4 + " |" + " " + prof4 + " |" );
System.out.println( "5)" + p5 + " |" + " " + prof5 + " |" );
System.out.println( "6)" + p6 + " |" + " " + prof2 + " |" );
}
}
Picture of the output