Здесь Вы можете найти ответы на многие вопросы или задать свой вопрос!
var t: integer;
begin
read(t);
while t > 6 do
t: =t-6;
case t of
0..2: write('green');
3: write('yellow');
4..6: write('red');
end;
end.
var s,r: real;
read(r);
s: =pi*sqr(r);
writeln(s: 0: 4);
for a : = 1 to 20 do
writeln(a,"^2 = ", a*a);
end
или
a: = 1;
repeat
a : = a + 1;
until a > 20;
Популярные вопросы