Ребята помогите где тут ошибка?
Program D;
var a,b,c:integer;
integer :NOD ('m,n');
begin
while m<>n do
if m>n then m:=m-n else n:=n-m;
NOD:=m;
end;
begin
write('a=');read(a);
write('b=');read(b);
write('c=');read(c);
writeln;
writeln('NOD(a,b,c)=',NOD(NOD(a,b),c));
end.
Выдаёт ошибку
Program1.pas(3) : Встречено ''NOD'', а ожидалось ':'
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.