|
|
|
@ -13,12 +13,7 @@ par exemple faire une séance de musculation suivie d’une séance de SPA, sa c
|
|
|
|
|
22 points.
|
|
|
|
|
Attribution de points lors d'un sceance qui dépende de critères socioprofessionnels (retraités, étudiants, ... AGE
|
|
|
|
|
|
|
|
|
|
Creditation obligatoire lors de creation adherent
|
|
|
|
|
|
|
|
|
|
Votre application doit pouvoir interdire à un adhérent de fréquenter le centre plus d’une fois par jour
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
void GestionMenus(void)
|
|
|
|
@ -45,48 +40,52 @@ void GestionMenus(void)
|
|
|
|
|
{
|
|
|
|
|
Affichage1Adherent(tNoCarte, tAge, tPointsCarte, tCarteActive, nbElem);
|
|
|
|
|
}
|
|
|
|
|
if (choixA == 'B' || choixA == 'b')
|
|
|
|
|
else if (choixA == 'B' || choixA == 'b')
|
|
|
|
|
{
|
|
|
|
|
AffichageTousAdherents(tNoCarte, tAge, tPointsCarte, tCarteActive, nbElem);
|
|
|
|
|
}
|
|
|
|
|
if (choixA == 'C' || choixA == 'c')
|
|
|
|
|
else if (choixA == 'C' || choixA == 'c')
|
|
|
|
|
{
|
|
|
|
|
AffichageNbEntreesTousJour(tNbActivitesJour, tDate, nbElem);
|
|
|
|
|
}
|
|
|
|
|
if (choixA == 'D' || choixA == 'd')
|
|
|
|
|
else if (choixA == 'D' || choixA == 'd')
|
|
|
|
|
{
|
|
|
|
|
AffichageNbEntreesTotal(tNbActivitesJour, nbElem);
|
|
|
|
|
}
|
|
|
|
|
if (choixA == 'E' || choixA == 'e')
|
|
|
|
|
else if (choixA == 'E' || choixA == 'e')
|
|
|
|
|
{
|
|
|
|
|
AffichageNbAdherents(nbElem);
|
|
|
|
|
}
|
|
|
|
|
choixA = ChoixMenuAffichage();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (choix == 2)
|
|
|
|
|
else if (choix == 2)
|
|
|
|
|
{
|
|
|
|
|
nbElem = AjoutAdherent(tNoCarte, tAge, tPointsCarte, tCarteActive, tMax, nbElem);
|
|
|
|
|
}
|
|
|
|
|
if (choix == 3)
|
|
|
|
|
else if (choix == 3)
|
|
|
|
|
{
|
|
|
|
|
ModificationAge(tNoCarte, tAge, nbElem);
|
|
|
|
|
}
|
|
|
|
|
if (choix == 4)
|
|
|
|
|
else if (choix == 4)
|
|
|
|
|
{
|
|
|
|
|
nbElem = SupprimerAdherent(tNoCarte, tAge, tPointsCarte, tCarteActive, nbElem);
|
|
|
|
|
}
|
|
|
|
|
if (choix == 5)
|
|
|
|
|
else if (choix == 5)
|
|
|
|
|
{
|
|
|
|
|
<<<<<<< HEAD
|
|
|
|
|
printf("Saisissez le numéro de la carte à créditer :");
|
|
|
|
|
scanf("%d", &noCarte);
|
|
|
|
|
AjoutPoints(tNoCarte, tPointsCarte, tCarteActive, nbElem, noCarte);
|
|
|
|
|
=======
|
|
|
|
|
AjoutPoints(tNoCarte, tPointsCarte, tCarteActive, nbElem);
|
|
|
|
|
>>>>>>> 8246af30af91d97049323e8ab24c8d053b21bbf4
|
|
|
|
|
}
|
|
|
|
|
if (choix == 6)
|
|
|
|
|
else if (choix == 6)
|
|
|
|
|
{
|
|
|
|
|
ModificationActivationCarte(tNoCarte, tCarteActive, nbElem);
|
|
|
|
|
}
|
|
|
|
|
if (choix == 7)
|
|
|
|
|
else if (choix == 7)
|
|
|
|
|
{
|
|
|
|
|
DebitActivitee(tNoCarte, tCarteActive, tNbActivitesJour, nbElem);
|
|
|
|
|
}
|
|
|
|
|