Bonjour j'ai besoin d'aide le plus tôt possible et merciCorriger l’algorithme suivant : Algorithme Calcul Montant Constantes (TVA : réel) ( 19% Variables prix
Informatique
lahlimi2005
Question
Bonjour j'ai besoin d'aide le plus tôt possible et merciCorriger l’algorithme suivant :
Algorithme Calcul Montant
Constantes (TVA : réel) ( 19%
Variables prixHT, prixTTC : réels
Début
Lire(‘’Donnez-moi le prix hors taxe :’’ )
Saisir(prixHT)
prixTTC( prixHT*(1+TVA/100)
Ecrire(‘’prixTTC’’)
Fin.
Algorithme Calcul Montant
Constantes (TVA : réel) ( 19%
Variables prixHT, prixTTC : réels
Début
Lire(‘’Donnez-moi le prix hors taxe :’’ )
Saisir(prixHT)
prixTTC( prixHT*(1+TVA/100)
Ecrire(‘’prixTTC’’)
Fin.
1 Réponse
-
1. Réponse Thomas756
Bonsoir,
Algorithme Calcul Montant
Constantes (TVA : réel) ( 19 )
Variables prixHT, prixTTC : réels
Début
Lire(‘’Donnez-moi le prix hors taxe :’’ )
Saisir(prixHT)
prixTTC = prixHT * (1 + TVA/100)
Ecrire(prixTTC)
Fin.
Bonne soirée.