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 un algorithme qui permet de resoudre ax²+bx+c=0 - Forum Algorithmes / Méthodes
- Ecrire en gras sur whatsapp - Guide
- Ecrire un algorithme qui calcule le produit de deux nombres - Forum Programmation
- Comment déverrouiller word pour ecrire ✓ - Forum Word
- Ecrire un algorithme qui permet de calculer la somme de deux nombres - Forum Programmation
2 réponses
blux
Messages postés
24869
Date d'inscription
dimanche 26 août 2001
Statut
Non membre
Dernière intervention
18 mars 2023
3 308
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 ;)