Page 1012 - IT2
P. 1012

c++;

                 }
                fclose(fichier);
                return c;
            }


            int main(){

                int nb;
              printf("Combien de patients voulez vous ajouter?");
             scanf("%d",&nb);

            for (int i=0; i<nb;i++)
            {

            printf("Saisie du patients n° %d", i);
            ajoutPatient();

            }

            affichagePatientes30(nb);

             int nombre=NombreTotal(nb);
             printf("Le nombre total da patients n'ayant pas visité le cabinet  depuis l'année 2013: %d ", nombre);
            }

            DOSSIER II – PROGRAMMATION ORIENTEE OBJET

            public class Cliente {

                   String nom ;
                   String prénom;
                   String numTelephone;
                   int jourNaissance;
                   int moisNaissance;
                   String adresseMail;

                   //Constructeur

                   public Cliente(String nom, String prénom, String numTelephone,
                                 int jourNaissance, int moisNaissance, String adresseMail) {
                                        this.nom = nom;
                          this.prénom = prénom;
                          this.numTelephone = numTelephone;
                          this.jourNaissance = jourNaissance;
                          this.moisNaissance = moisNaissance;
                          this.adresseMail = adresseMail;
                   }

                   //Sélécteures et Modificateurs

                   public String getNom() {
                  Filière                    Epreuve                       Session              6/12
                  TDM                  Synthèse V2(Correction)            Juillet 2014
                                          www.itlearning-settat.com

                                   Email: admission@itlearning-settat.com
                                                   Tél.:0661077812
   1007   1008   1009   1010   1011   1012   1013   1014   1015   1016   1017