2025-03-19 16:29:54 +01:00
|
|
|
texte nom = "anthony";
|
|
|
|
entier age = 23;
|
|
|
|
booléen majeur = vrai;
|
2025-03-17 23:19:02 +01:00
|
|
|
|
2025-03-20 00:52:05 +01:00
|
|
|
booléen ingénieur;
|
|
|
|
|
2025-03-19 16:29:54 +01:00
|
|
|
majeur = faux;
|
2025-03-17 23:19:02 +01:00
|
|
|
|
2025-03-19 16:29:54 +01:00
|
|
|
afficher nom, age, majeur;
|
|
|
|
|
|
|
|
|
|
|
|
#TODO: Ces lignes devraient donner une erreur
|
2025-03-20 00:17:50 +01:00
|
|
|
# majeur = 42;
|
2025-03-19 16:29:54 +01:00
|
|
|
|
2025-03-20 00:17:50 +01:00
|
|
|
# afficher majeur;
|