Ecrire un algorithme
Fermé
flolau
-
9 oct. 2014 à 14:07
UssefShahid Messages postés 35 Date d'inscription mardi 7 octobre 2014 Statut Membre Dernière intervention 29 juillet 2017 - 9 oct. 2014 à 15:14
UssefShahid Messages postés 35 Date d'inscription mardi 7 octobre 2014 Statut Membre Dernière intervention 29 juillet 2017 - 9 oct. 2014 à 15:14
A voir également:
- Ecrire un algorithme
- Ecrire en gras sur whatsapp - Guide
- Ecrire en miroir - Guide
- Logiciel algorithme gratuit - Télécharger - Édition & Programmation
- Bash écrire dans un fichier - Forum Shell
- Ecrire un rapport exemple ✓ - Forum Word
2 réponses
blux
Messages postés
26013
Date d'inscription
dimanche 26 août 2001
Statut
Modérateur
Dernière intervention
26 avril 2024
3 289
9 oct. 2014 à 14:10
9 oct. 2014 à 14:10
Salut,
et donc, où coinces-tu ?
et donc, où coinces-tu ?
UssefShahid
Messages postés
35
Date d'inscription
mardi 7 octobre 2014
Statut
Membre
Dernière intervention
29 juillet 2017
9 oct. 2014 à 15:14
9 oct. 2014 à 15:14
1/ Je pense la 1er va être (1er possibilité) :
Si (détaxe = OUI) ou (détaxe = o) Alors
prix hors taxe total
Sinon
prix hors taxe total * (1+TVA)
FINSI
(2ème possibilité) :
Si détaxe = OUI Alors
prix hors taxe total
Sinon Si détaxe = NON
prix hors taxe total * (1+TVA)
Sinon Si détaxe = o
( instruction )
Sinon
( instruction )
FinSi
2/ pour la 2ème question :
Ecrire "Ecrivez la valeur de détaxe"
lire détaxe
Si détaxe = (condition) Alors
( instruction )
Sinon
( instruction )
Finsi
- Bon si t'as beaucoup des condition dans la 2ème question tu peux persévérer avec Sinon Si ;)
Si (détaxe = OUI) ou (détaxe = o) Alors
prix hors taxe total
Sinon
prix hors taxe total * (1+TVA)
FINSI
(2ème possibilité) :
Si détaxe = OUI Alors
prix hors taxe total
Sinon Si détaxe = NON
prix hors taxe total * (1+TVA)
Sinon Si détaxe = o
( instruction )
Sinon
( instruction )
FinSi
2/ pour la 2ème question :
Ecrire "Ecrivez la valeur de détaxe"
lire détaxe
Si détaxe = (condition) Alors
( instruction )
Sinon
( instruction )
Finsi
- Bon si t'as beaucoup des condition dans la 2ème question tu peux persévérer avec Sinon Si ;)