Switch case en c
Fermé
sdigtn
Messages postés
1
Date d'inscription
mardi 28 août 2007
Statut
Membre
Dernière intervention
19 novembre 2007
-
19 nov. 2007 à 12:29
omar - 3 janv. 2011 à 11:01
omar - 3 janv. 2011 à 11:01
A voir également:
- Switch case en c
- Télécharger switch - Télécharger - Conversion & Extraction
- Mod minecraft switch - Forum minecraft
- Samsung smart switch pc - Télécharger - Divers Bureautique
- Meilleurs jeux switch - Guide
- Switch core ✓ - Forum CISCO
3 réponses
dubcek
Messages postés
18587
Date d'inscription
lundi 15 janvier 2007
Statut
Contributeur
Dernière intervention
12 mars 2023
5 583
19 nov. 2007 à 13:38
19 nov. 2007 à 13:38
je dirais plutôt:
switch (x)
{
case 1:
case 2:
case 3: traitement;
....
}
switch (x)
{
case 1:
case 2:
case 3: traitement;
....
}
bnjr
tu peux fair cette method
switch (choix)
{
case 'choi1' : instructio ;break;
.
.
.
}
voila et bon courage
tu peux fair cette method
switch (choix)
{
case 'choi1' : instructio ;break;
.
.
.
}
voila et bon courage
dedian_
Messages postés
119
Date d'inscription
jeudi 15 novembre 2007
Statut
Membre
Dernière intervention
2 avril 2012
38
19 nov. 2007 à 12:42
19 nov. 2007 à 12:42
il suffit d'essayer et tu verras si ça marche ou pas.