Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 int syrac (int n, int j) { bool k; int cpt = 0; while (n!=1) { cpt++; k=r(n,j); cout << n << " "; if (k==true) n=p(n,j); else n=i(n,j); } return cpt; }






Répondre avec citation



Partager