a)
program a4;
uses crt;
var x: integer;
begin
clrscr;
writeln('Vvedite vozrast: ');readln(x);
if (x>=6) and (x<=17) then writeln ('Shkolnik')
else writeln ('Ne shkolnik');
end.
б)
program b4;
if (x>=13) and (x<=19) then writeln ('Tineager')
else writeln ('Ne tineager');
Copyright © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
a)
program a4;
uses crt;
var x: integer;
begin
clrscr;
writeln('Vvedite vozrast: ');readln(x);
if (x>=6) and (x<=17) then writeln ('Shkolnik')
else writeln ('Ne shkolnik');
end.
б)
program b4;
uses crt;
var x: integer;
begin
clrscr;
writeln('Vvedite vozrast: ');readln(x);
if (x>=13) and (x<=19) then writeln ('Tineager')
else writeln ('Ne tineager');
end.