Program Project1; {$APPTYPE CONSOLE} {$R *.res} uses System.SysUtils; var a, b, c, x, y:integer; begin write('Enter a: '); readLn(a); write('Enter b: '); readLn(b); write('Enter c: '); readLn(c); write('Enter x: '); readLn(x); write('Enter y: '); readLn(y);
writeLn('a^2+(c+b)^2>=10: ', a*a + (c+b)*(c+b) >=10); writeLn('odd(c*(c+1)): ', (c*(c+1)) mod 2 = 1); writeLn('x xor (not y): ', x xor not y); writeLn('(x and y) or not(x): ', (x and y) or not x); readln; end.
{$APPTYPE CONSOLE}
{$R *.res}
uses System.SysUtils;
var a, b, c, x, y:integer;
begin
write('Enter a: ');
readLn(a);
write('Enter b: ');
readLn(b);
write('Enter c: ');
readLn(c);
write('Enter x: ');
readLn(x);
write('Enter y: ');
readLn(y);
writeLn('a^2+(c+b)^2>=10: ', a*a + (c+b)*(c+b) >=10);
writeLn('odd(c*(c+1)): ', (c*(c+1)) mod 2 = 1);
writeLn('x xor (not y): ', x xor not y);
writeLn('(x and y) or not(x): ', (x and y) or not x);
readln;
end.