Var x,f,b,c,d:integer; begin
for x:=0 to 10 do
begin
for f:=0 to 10 do
begin
for b:=0 to 10 do
begin
for d:=0 to 10 do
begin
for c:=0 to 10 do
if ((x*f+b)=((x*10)+x)) and (((((x*10)+b))*f+c))=(((x*100)+(x*10)+x)) and (((((x*10)+b))*f+d)=((x*1000)+(x*100)+(x*10)+x)) then
write(x, ' ', f);
end;
end;
end;
end;
end.
пишет, что операция AND не применима к типу boolean и integer, как исправить, помогите
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Copyright © 2024 SCHOLAR.TIPS - All rights reserved.