Created
February 1, 2020 10:06
-
-
Save swann44/2c94016815d1ff9225ba533fb9e795e7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Début comptage bonbon (argentDispo, prixBonbon) | |
| argentDispp<-lire nombre réel | |
| proxBonbon<-lire nombre réel | |
| nbBonbon = 0 | |
| si argentDispo> 0, prixBonbon> 0 et que argentDispo> prixBonbon | |
| tant que prixBonbon * nbBonbon <= argentDispo | |
| nbBonbon = nbBonbon + 1 | |
| fin tant que | |
| fin si | |
| fin comptage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment