Page 475 - IT2
P. 475

for (i=0; i<N; i++)
                      {  for (j=i; j>=0; j--) cout<<'*'<<ch[j];
                          cout<<"*\n";}
                      getch();}

            3-
            #include <iostream>
            #include <conio.h>
            using namespace std;
            int main()
            {        int n;
                      double  U, Usuiv,InverseFactN;
                      cout<<"Calcul approximatif de e :\n";

                      U=1.0;
                      n=0;
                      Usuiv=U;
                      InverseFactN=1.0;
                     do{
                          n++;
                          InverseFactN /=n;
                          U = Usuiv;
                          Usuiv = U + InverseFactN;
                          }while( Usuiv != U);
                     cout<<"e = "<<Usuiv<<"           n = "<<n;
                     getche();}

            Dossier 3  (4 pts)

            MCD

                                    Utilisateur
                              0,n   RefUt       0,n

                                  NomUt


                                                    Dispose
                      Dispose


                                                                1,n
                    1,1                                  Dossier
                                                  0,n               1,1
                    Fichier    1,1                     NumDoss                                 Support
                                      Contient                                Enregister   0,n
                  NumFich                         0,n   NomDoss     0,1                     NumSup
                  NomFich                                                                   NomSup
                  Taille                             0,n                                    TypeSup
                  DateCrMAJ                                 EstSousD

                      0,n                   Regroupe


                      Regroupe           1,1

                                    Catégorie
                               1,1
                                  RefCat
                                         www.itlearning-settat.com
                                  NomCat                                                           3/5

                                  Email: admission@itlearning-settat.com

                                                  Tél.:0661077812
   470   471   472   473   474   475   476   477   478   479   480