easy partiel

This commit is contained in:
2016-02-23 18:02:37 +01:00
parent cd4e0880e5
commit 336d8d58bd
102 changed files with 15322 additions and 10 deletions

23
eval-partiel/input/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 );
}
}