You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
846 B

#include "SAE.h"
void affichageVillesIUT(VilleIUT *tiut[], int nb)
{
printf("Voici les villes qui ont un IUT :\n");
for (int i = 0; i < nb; i++)
{
printf("\t%s\n", tiut[i]->ville);
}
}
void affichageDeptIUT(VilleIUT *tiut[], int nb)
{
printf("Voici les départements présents dans chaque IUT :\n");
for (int i = 0; i < nb; i++)
{
printf("\t%s :\n", tiut[i]->ville);
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));
}
}
}