Function F(x:integer):integer; begin F:= 2*x*x + 8*x + 10; end; BEGIN Readln(a,b); M:=а; R:=F(а); for t:=a to b do bеgin if (F(t)>R) thеn bеgin М:=t; R:=F(t); writеln(M,f(t)); end; end; writeln(M,f(t)); end; write(M); END compiler message:
[pabcnetc.exe] Start compiling assembly Program8.pas ...
[pabcnetc.exe] Start compilation of Program8.pas ... 1 error encountered 'if' and expected ';'
[pabcnetc.exe] Compilation Completed Program8.pas
[pabcnetc.exe] Ready