printf("Nom du client : %s\n",T[i].nom);
printf("Prénom du client :%s\n",T[i].prenom);
printf("%s\n",T[i].solde);
}
}
int main(void){
int choix;
//system("color 4E");
// Menu du programme facilitant le choix de l'utilisateur sur les différentes actions
do{
printf("\n ------------------------------MENU------------------------------");
printf("\n 1/ Ajouter un nouveau client");
printf("\n 2/ Modifier l'espace d'un client");
printf("\n 3/ Rechercher et afficher le compte d'un client");
// printf("\n 4/ Virement d'un client vers un autre client");
printf("\n 5/ Suppression d'un compte client");
printf("\n 6/ Quitter-----------------------");
printf("\n");
printf("Veuillez rentrer le numéro correspondant à votre choix :\n");
scanf("%d\n",&choix);
switch (choix) { // Vérification du choix de l'utilisateur
case 1 : system("cls"); printf("\n Ajouter un nouveau client");
ajoutclient();
break;
case 2 : system("cls"); printf("\n Modifier l'espace d'un client");
modif_client();
break;
case 3 : system("cls"); printf("\n Rechercher et afficher le compte d'un client");
recherche_affiche_client();
break;
case 4 : system("cls"); printf("\n Suppression d'un comte client");
suprclient();
break;
case 5 : system("cls"); printf("\n Quitter-----------------------");
break;
default : system("cls"); printf("\n **ERROR** Veuillez taper un des chiffres correspondant :");