Voilà ce que j'aurais voulu faire mais apparemment il y a une faute et je ne sais pas comment programmer cela autrement:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
while (for (y=1;y<=3;y=y+1)
       {for (z=1;z<=5;z=z+1)
        {tab_somme[y]!=tab_qtite_dispo[y];
        tab_som[z]!=tab_qtite_dde[z];
        }
       }
      )
 
{if (tab_qtite[y][z]!=0)
 {tab_qtite[y][z]=tab_qtite[y][z]+1 || tab_qtite[y][z]=tab_qtite[y][z]-1;
 }
}