error:incompatible types:got "bollean" expected "longint"

来源:学生作业帮助网 编辑:作业帮 时间:2024/07/14 09:33:48
error:incompatible types:got
xN@_e 8"Ɲ/#tmk& Fk"``/][`ۗ'6J)dDQ!A/X` >:`1+en{W\[lcK'*d\gJK#q\J pΐ<R%x.a N< xaf\/40(u2HUBǯf<ӛ'QYo>җ3sygޒ3e^;({ʶ(>_}<

error:incompatible types:got "bollean" expected "longint"
error:incompatible types:got "bollean" expected "longint"

error:incompatible types:got "bollean" expected "longint"
if k1 and k2 then
begin
writeln('Error');
writeln('Thank you,Press Enter to Exit the Program');
readln;
halt;
end;
这句的判断错了,最后的小错误不应该啊
if 语句两个或以上的判断条件要打括号的
if (k1)and (k2) then begin