var i: integer;
a, b: boolean;
begin
a := true;
b := true;
writeln(' a | b | not a | a and b | a or b | a xor b');
writeln('------|------|--------|---------|--------|---------');
for i := 1 to 4 do begin
if i = 2 then b := not b;
if i = 3 then a := not a;
if i = 4 then b := not b;
writeln(a, ' | ',
b, ' | ',
not a, ' | ',
a and b, ' | ',
a or b, ' | ',
a xor b);
end;
readln;
end.
Witam, mam problem, ktory jest zwiazny z tym ze nie potrafię wyników boolowskich wyrównać w Tabelce. Czy moglby mi to ktos poprawić i opisać, bym wiedział na przyszłość?
Pozdrawiam