summaryrefslogtreecommitdiffstats
path: root/2022-2/L03/Estructuras.h
diff options
context:
space:
mode:
authorMitsuo Tokumori <[email protected]>2023-08-18 01:56:52 -0500
committerMitsuo Tokumori <[email protected]>2023-08-18 01:56:52 -0500
commit49d4392ca1972c8d66b1015f2cdda414d94812b8 (patch)
tree13585bcb546d97b96ec669457c06fc27f2d66ab7 /2022-2/L03/Estructuras.h
parentd6e56dbe184cac37d7aa5cebe3e1db108dee4a28 (diff)
downloadLP1-49d4392ca1972c8d66b1015f2cdda414d94812b8.tar.gz
LP1-49d4392ca1972c8d66b1015f2cdda414d94812b8.tar.bz2
LP1-49d4392ca1972c8d66b1015f2cdda414d94812b8.zip
Fix naming. Add leading 0 to lab names
Diffstat (limited to '2022-2/L03/Estructuras.h')
-rw-r--r--2022-2/L03/Estructuras.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/2022-2/L03/Estructuras.h b/2022-2/L03/Estructuras.h
new file mode 100644
index 0000000..489db90
--- /dev/null
+++ b/2022-2/L03/Estructuras.h
@@ -0,0 +1,35 @@
+/*
+ * Proyecto: EstructurasLab3_2022_2
+ * Archivo: Estructuras.h
+ * Autor: J. Miguel Guanira E.
+ *
+ * Created on 13 de septiembre de 2022, 09:26 PM
+ */
+
+#ifndef ESTRUCTURAS_H
+#define ESTRUCTURAS_H
+
+struct StCita{
+ int codigoDelMedico;
+ int fecha; // Fecha en el formato AAAAMMDD
+ double tarifaPorConsulta;
+ char especialidad[50];
+};
+
+struct StPaciente{
+ int dni;
+ char nombre[60];
+ struct StCita citas[20];
+ int numeroDeCitas;
+ double totalGastado;
+};
+
+struct StMedico{
+ int codigo;
+ char nombre[60];
+ double tarifaPoxConsulta;
+ char especialidad[50];
+};
+
+#endif /* ESTRUCTURAS_H */
+