Déclaration et affichage

This commit is contained in:
tonitch
2025-03-19 16:29:54 +01:00
parent ce99fbb71a
commit 0e11654fd2
3 changed files with 109 additions and 44 deletions

View File

@ -1,8 +1,13 @@
entier pi = 314;
entier pi2 = 3;
texte nom = "anthony";
entier age = 23;
booléen majeur = vrai;
pi = 3;
majeur = faux;
tant que pi vaut pi2 faire {
afficher "bonjour";
}
afficher nom, age, majeur;
#TODO: Ces lignes devraient donner une erreur
majeur = 42;
afficher majeur;