a guest Jul 17th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Début calculBonbons (entier argent, entier prix_bonbon)
  2.     nb_bonbon = 0
  3.     SI argent ET prix_bonbon  > 0
  4.         TANT QUE argent >= prix_bonbon
  5.             nb_bonbon += 1  
  6.             argent -= prix_bonbon
  7.         Fin TANT QUE
  8.     Fin SI
  9.     Afficher nb_bonbon
  10. Fin calculBonbons
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand