Initial Commit

This commit is contained in:
2016-01-19 14:26:58 +01:00
parent 36baf73cca
commit 02076b62f5
21 changed files with 947 additions and 0 deletions

23
test/max.l Normal file
View File

@@ -0,0 +1,23 @@
max( entier $a, entier $b )
{
si $a < $b alors {
retour $b;
}
retour $a;
}
main()
entier $v_1, entier $v_2;
{
$v_1 = lire();
$v_2 = lire();
si max( $v_1, $v_2 ) = $v_1 alors
{
ecrire( $v_1 );
}
sinon
{
ecrire( $v_2 );
}
}