Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devoir #125

Open
Sorellinda opened this issue Nov 9, 2023 · 0 comments
Open

Devoir #125

Sorellinda opened this issue Nov 9, 2023 · 0 comments

Comments

@Sorellinda
Copy link

Algorithme CalculTVA
{Saisit un prix HT et prix TTC correspondant }
Constantes TVA =20.6
Titre ='Résultat'
Variables prixHT: réel
Variable PRIXTTC, montantTVA :réels {déclarations}
Début {préparation du traitement}
afficher('Donnez-moi le prix hors taxe :')
saisir(prixHT )
prixTTC <-prixHT* (1+TVA/100) {calcul du prix TTC}
montantTVA <- prixTTC- prixHT
afficher (Titre) {présentation du résultat }
afficher (prixHT,euros H.T.+TVA. ',TVA', devient. ',prixTTC',
'eurosT.T.C.')
Fin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant