Labo 9

profThiernesse
10.6K views

Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

Exercice 3

Les nombres aléatoires

Devinez le nombre !

Ecrire un programme qui …

  • génère un nombre entier compris entre 1 et 1000.
  • offre à l’utilisateur 10 essais pour trouver ce nombre. Les indications « c’est plus » ou « c’est moins » sont fournies à l’utilisateur pour toute tentative infructueuse.
Open Source Your Knowledge: become a Contributor and help others learn. Create New Content