Presentation conditionnelle
Vous avez réussi.");
101
102 |else
104 *}
105 |
106
103 printf ("Echec: Il faut travailler encore plus!");
C++ source fle aa length : 1889 lines : …afficher plus de contenu…
SSBeERLEa ¢hh ae #4 22 BE TIBs o Bw
Ei tmp cop |B Nouveau Documenttate tt |
31 #include <stdio.h> *
32 void main()
33 At
34 int a, b, max;
35 printf ("\n Donnez a : "); scanf ("2d", &a);
36 printf ("\n Donnez b : "); scanf ("2d", &b);
37 if (b >a) max =b;
38 else max = a;
39 printf ("Le maximum est : %d.", max);
40 }
41 #include <stdio.h>
42 void main()
43 a{
44 int a, b, max;
45 printf ("\n Donnez a : "); scanf ("2d", &a);
46 printf ("\n Donnez b : "); scanf ("2d", &b);
47 max = a;
48 if (b > max) a
49 max = b;
50 printf ("Le maximum est : %d.", max); om }
52
53 Y
C++ source