fix la boucle && --> ||

master
Ange BARDET 2 years ago
parent 5f10381974
commit 748ae23661

@ -2,3 +2,4 @@
233 10.00 15.000 32.00
272 6.50 10.000 29.99
66 33.00 11.000 22.00
345 30.00 29.000 10.00

Binary file not shown.

@ -13,7 +13,7 @@ void testF(void)
scanf("%d",&rep);
while (rep != -1)
{
while (rep < -1 && rep > 2)
while (rep < -1 || rep > 3)
{
printf("Erreur; (afficher[0]/ajouter[1]/modifier[2]/supprimer[3]/quitter[-1]) ");
scanf("%d",&rep);

Loading…
Cancel
Save