|
|
|
@ -18,3 +18,16 @@ void affichageDeptIUT(VilleIUT *tiut[], int nb)
|
|
|
|
|
afficherDept(tiut[i]->ldept);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void affichageNbP(VilleIUT *tiut[], int nb)
|
|
|
|
|
{
|
|
|
|
|
printf("Voici le nombre de places dans chaque département de chaque IUT :");
|
|
|
|
|
for (int i = 0; i < nb; i++)
|
|
|
|
|
{
|
|
|
|
|
printf("\t%s :\n", tiut[i]->ville);
|
|
|
|
|
for (int v = 0; v < longueur(tiut[i]->ldept); v++)
|
|
|
|
|
{
|
|
|
|
|
printf("\t%s :\t%s", getDept(tiut[i]->ldept, v), getNbP(tiut[i]->ldept, v));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|