35 lines
617 B
C
35 lines
617 B
C
struct Etudiant {
|
|
char nom[21];
|
|
char prenom[21];
|
|
float moyenne_generale;
|
|
unsigned int scolarisation; // 1 pour scolarisé, 0 pour déscolarisé
|
|
};
|
|
|
|
struct Node {
|
|
struct Etudiant racine;
|
|
struct Node gauche;
|
|
struct Node droit;
|
|
}
|
|
|
|
unsigned int heapsortPromo(
|
|
struct Etudiant promo[],
|
|
unsigned int taille_pratique
|
|
);
|
|
|
|
unsigned int saisiePromo(
|
|
struct Etudiant promo[],
|
|
unsigned int taille_relle
|
|
);
|
|
|
|
unsigned int filtreDemission(
|
|
struct Etudiant promo[],
|
|
unsigned int taille_pratique
|
|
);
|
|
|
|
float moyenne(
|
|
struct Etudiant promo[],
|
|
unsigned int taille_pratique
|
|
);
|
|
|
|
|