-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJainA_Assignment3.java
More file actions
31 lines (16 loc) · 867 Bytes
/
JainA_Assignment3.java
File metadata and controls
31 lines (16 loc) · 867 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Jain Aarush
// February 5, 2019
// Assignment 2: Time Table
// ICS3U Mrs. Strelkovska
public class JainA_Assignment3 {
public static void main(String[] args) {
//starts printing Time Table
System.out.format("SEMESTER 2 TERM 1 TIMETABLE:\n");
System.out.format("JAIN AARUSH\n");
System.out.format("%-15s %-30s Teacher | %-30s Teacher|\n", "|Time", "| Day 1", "Day 2");
System.out.format("%-15s | %-26s Keras, L. | %-24s Reichling, S.|\n", "|08:50-10:05", "MPM2D7-01", "SNC2D7-01");
System.out.format("%-15s | %-22s Reichling, S. | %-28s Keras, L.|\n", "|10:10-11:25", "SNC2D7-01", "MPM2D7-01");
System.out.format("|12:25-13:40 %4s ICS3U7-01 %26s | FSF3U7-01 %29s\n", "|", "Strelkovska, H.", "Hidaka, T.|");
System.out.format("|13:45-15:00 %4s FSF3U7-01 %26s | ICS3U7-01 %29s\n", "|", "Hidaka, T.", "Strelkovska, H.|");
}
}