|
|
|
@ -50,22 +50,22 @@ int ChoixMenuAffichage(void)
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* \brief Affiche le menu d'affichage et permet de choisir une option
|
|
|
|
|
* \author Antoine Perederii - Ayour Malki - Kyllian Chabanon
|
|
|
|
|
* \author Antoine Perederii - Kyllian Chabanon
|
|
|
|
|
* \return le choix entré par l'utilisateur
|
|
|
|
|
*/
|
|
|
|
|
int choixMenuActivites(void)
|
|
|
|
|
{
|
|
|
|
|
int choix;
|
|
|
|
|
printf("\nChoix activités :\n");
|
|
|
|
|
printf("1.\tPiscine\t\t\t0pt\n");
|
|
|
|
|
printf("2.\tOption accessibilité\t\t0pt\n");
|
|
|
|
|
printf("3.\tAquakid + Aquaplouf\t\t5pt\n");
|
|
|
|
|
printf("4.\tAquafit\t\t\t9pt\n");
|
|
|
|
|
printf("5.\tCours de natation\t\t10pt\n");
|
|
|
|
|
printf("6.\tCours de gymnastique aquatique\t12pt\n");
|
|
|
|
|
printf("7.\tVagues\t\t\t15pt\n");
|
|
|
|
|
printf("8.\tAquabike\t\t\t20pt\n");
|
|
|
|
|
printf("9.\tAquafamily\t\t\t35pt\n");
|
|
|
|
|
printf("\nChoix des activités :\n");
|
|
|
|
|
printf("1.\tPiscine\t\t\t0 points\n");
|
|
|
|
|
printf("2.\tOption accessibilité\t\t0 points\n");
|
|
|
|
|
printf("3.\tAquakid + Aquaplouf\t\t5 points\n");
|
|
|
|
|
printf("4.\tAquafit\t\t\t9 points\n");
|
|
|
|
|
printf("5.\tCours de natation\t\t10 points\n");
|
|
|
|
|
printf("6.\tCours de gymnastique aquatique\t12 points\n");
|
|
|
|
|
printf("7.\tVagues\t\t\t15 points\n");
|
|
|
|
|
printf("8.\tAquabike\t\t\t20 points\n");
|
|
|
|
|
printf("9.\tAquafamily\t\t\t35 points\n");
|
|
|
|
|
printf("10.\tQuitter\n");
|
|
|
|
|
printf("\nOption choisie : ");
|
|
|
|
|
scanf("%d", &choix);
|
|
|
|
|