<span>var</span>
a1<span>,</span> a2<span>,</span> a3<span>,</span> max<span>:</span><span>integer</span>;
<span>begin</span><span>write</span><span>(</span><span>'Введите три числа: '</span><span>)</span>;
<span> readln</span><span>(</span>a1<span>,</span> a2<span>,</span> a3<span>)</span>;
<span>if</span> a1 ><span>=</span> a2
<span>then</span> max <span>:=</span> a1
<span>else</span> max <span>:=</span> a2;
<span>if</span> a3 > max
<span>then</span> max <span>:=</span> a3;
<span>writeln</span><span>(</span><span>'Наибольшее из них: '</span><span>,</span> max<span>)</span>;
<span>readln</span>
<span>end</span>.