void main(void)
{
    char choix, choix_entier ;
    do
    {
        printf("Choisir une option dans le menu suivant : \
               \n\t Visualisation <1><return> \
               \n\t Modification <2><return> \
               \n\t Suppression <3><return> \
               \n\t Quitter <q><return> ") ;
        printf("\n\t\t Indiquez votre choix : ") ;
        rewind(stdin) ;
        choix = getch() ;
        choix_entier = choix–‘0’;
        / *permet de passer du caractère ’i’ (code ASCII) à l’entier i */
        switch (choix_entier)
        {
        case 1 :
            printf("Appel de l'affichage") ;
            break ;
        case 2 :
            printf("Appel de la modification") ;
            break ;
        case 3 :
            printf("Appel de la suppression") ;
            break ;
        }
    }
    while ( choix!='q' ) ;
}
