diff --git a/b1-algo/c1-ALGORITHMIQUE.md b/b1-algo/c1-ALGORITHMIQUE.md index 047b0b7..62cf3d2 100644 --- a/b1-algo/c1-ALGORITHMIQUE.md +++ b/b1-algo/c1-ALGORITHMIQUE.md @@ -12,6 +12,12 @@ *Note* : zéro s'écrit avec un O barré : `0` + Valeurs possibles : + - boolean / booléen / bool : vrai / faux + - entier / integer / int : 1 ... 3 .... 2345 .... valeur max pour l'ordinateur + - décimal / float : 0,3 ... 1,2 ... 56,2345 .... valeur max pour l'ordinateur + - alphanumérique / chaine / string : "bonjour", "a123", ... Par convention on mets des guillements autour. + ## opérateur Un opérateur est un symbole qui utilise ou des opérandes et vaut quelque chose. @@ -51,6 +57,18 @@ ## autres instructions : +Par convention onterminera une instruction par ; + ### afficher -affiche le résultat (sur un écran par exemple) \ No newline at end of file +affiche le résultat (sur un écran par exemple) + +> afficher "bonjour"; + +### lire + +lire la saisie d'un utilisateur + +> var reponse chaine; +> lire reponse; +> afficher reponse; \ No newline at end of file