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
- Aller à la ligne dans une case excel - Guide
- Logiciel switch - Télécharger - Conversion & Extraction
- Switch qwerty azerty - Guide
- Android switch - Accueil - Android
- Samsung switch pc - Télécharger - Divers Bureautique
3 réponses
dubcek
Messages postés
18784
Date d'inscription
lundi 15 janvier 2007
Statut
Contributeur
Dernière intervention
24 avril 2025
5 630
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
40
19 nov. 2007 à 12:42
19 nov. 2007 à 12:42
il suffit d'essayer et tu verras si ça marche ou pas.