-
Notifications
You must be signed in to change notification settings - Fork 10
/
Ejercicio4_1.java
18 lines (17 loc) · 1.12 KB
/
Ejercicio4_1.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/**
* Ejercicio 4 | Tema 1
* Horario de clase
* @author Lucia Blanco
*/
public class Ejercicio4_1 {
public static void main(String[] args) {
System.out.println("Hora Lunes Martes Miercoles Jueves Viernes");
System.out.println("-----------------------------------------");
System.out.printf("%s %-8s %-8s %-8s %-8s %-8s\n", "08.15", "Sistemas", "Prog", "Sistemas", "Prog", "Prog");
System.out.printf("%s %-8s %-8s %-8s %-8s %-8s\n", "09.15", "Sistemas", "Prog", "Sistemas", "Prog", "Prog");
System.out.printf("%s %-8s %-8s %-8s %-8s %-8s\n", "10.15", "Sistemas", "Prog", "Sistemas", "Prog", "Entorno");
System.out.printf("%s %-8s %-8s %-8s %-8s %-8s\n", "11.45", "FOL", "BBDD", "Entorno", "BBDD", "Lenguaj");
System.out.printf("%s %-8s %-8s %-8s %-8s %-8s\n", "12.40", "FOL", "BBDD", "Lenguaj", "BBDD", "Lenguaj");
System.out.printf("%s %-8s %-8s %-8s %-8s %-8s\n", "13.35", "FOL", "BBDD", "Lenguaj", "BBDD", "Lenguaj");
}
}