1) var a: longint; begin readln(a); if (a mod 7 = 0) then writeln('YES') else writeln('NO'); end. 2) var a: longint; begin readln(a); if (a mod 10 = 0) then writeln('YES') else writeln('NO'); end. 3) var a, b: longint; begin readln(a, b); if (a > b) then writeln('a > b'); if (a < b) then writeln('a < b'); if (a = b) then writeln('a = b'); end.
a: longint;
begin
readln(a);
if (a mod 7 = 0) then
writeln('YES')
else
writeln('NO');
end.
2) var
a: longint;
begin
readln(a);
if (a mod 10 = 0) then
writeln('YES')
else
writeln('NO');
end.
3) var
a, b: longint;
begin
readln(a, b);
if (a > b) then
writeln('a > b');
if (a < b) then
writeln('a < b');
if (a = b) then
writeln('a = b');
end.