Last active
February 28, 2019 08:30
-
-
Save Nocktiss/dbf614506f2d3429487fc3a66ea089f2 to your computer and use it in GitHub Desktop.
This file contains 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 compteur (reel argent, reel prix) | |
nombreDeBonbons = 0 | |
si argent > 0 et que prix > 0 | |
tant que prix <= argent | |
argent = argent - prix | |
nombreDeBonbons = nombreDeBonbons +1 | |
fin tant que | |
retourner nombreDeBonbons | |
FIN nombre de bonbons entier |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment