Déclaration et affichage
This commit is contained in:
		| @ -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; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user