« Langage Pascal/Exercices/Pascal max a b » : différence entre les versions
Contenu supprimé Contenu ajouté
Aucun résumé des modifications |
correction solution |
||
Ligne 16 :
<source lang="pascal">
var a,b: integer;
Begin
write('Entrez un premier nombre : ');
readln(a);
write('Entrez un deuxième nombre : ');
readln(b);
if a > b then
End.
▲ writeln('Le maximum est a');
▲ writeln('Le maximum est b');
</source>
}}
|