#include <stdio.h>

#define LUNES		1
#define MARTES		2
#define MIERCOLES	3
#define JUEVES		4
#define VIERNES		5
#define SABADO		6
#define DOMINGO		7

typedef struct {
	int d, m, a;
} t_dia;

typedef struct {
	int h, m, s;
} t_hora;

typedef struct {
	t_dia	dia;
	t_hora	hora;
	int	dia_de_la_semana;
} t_date;

int main() {
	t_hora hora = {14, 48, 0};
	t_date date = {{18, 10, 2024}, {14, 48, 0}, VIERNES};

	printf("La hora es %02d:%02d:%02d\n", hora.h, hora.m, hora.s);
	printf("Hoy es %d/%d/%d.\n", date.dia.d, date.dia.m, date.dia.a);
}

