and(A,B) :- A, B.
or(A,_) :- A.
or(_,B) :- B.
error that i am getting is this
为字节码编译 C:/Users/firoz/OneDrive/Desktop/neww 代码/tt.pl... C:/Users/firoz/OneDrive/Desktop/neww 代码/tt.pl:10: 警告:单例变量 [Expr ] for do/2 C:/Users/firoz/OneDrive/Desktop/neww 代码/tt.pl:11: 警告:不连续谓词 do/3 - 子句被忽略 C:/Users/firoz/OneDrive/Desktop/neww 代码/tt .pl 编译,读取 11 行 - 写入 2112 字节,7 ms