< Programmation
program p (data,output);
var a,b : integer; data : text;
begin
reset(data);b := 0; {on met b a zero}
while not eof(data) do
begin readln(data,a);
if a > 42 then b := b+1 end;
writeln(a)
end.
Cet article est issu de Wikibooks. Le texte est sous licence Creative Commons – Attribution – Partage à l’identique. Des conditions supplémentaires peuvent s’appliquer aux fichiers multimédias.