From 61ac2076b54eefb0a8402140a1b621659daadcd8 Mon Sep 17 00:00:00 2001 From: Roxane ROSSETTO Date: Tue, 13 Dec 2022 15:22:40 +0100 Subject: [PATCH] structure et .h mis en place --- commun.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/commun.c b/commun.c index c617419..79ffd17 100644 --- a/commun.c +++ b/commun.c @@ -2,3 +2,24 @@ #include #include #include "commun.h" + + +typedef struct { + int nEtu; + char nom[20]; + char prenom[20]; + float moymat; + float moyfr; + float moyen; + float moyspe; + int nbchx; +}Candidat; + +typedef struct { + char ville[20]; + char dptmt[20]; + int dec; + int valid; +}Choix; + +