Здесь Вы можете найти ответы на многие вопросы или задать свой вопрос!
32 - вопроса, 32 - ответа
var a: integer; c1, c2, c3, c4: integer;
begin for a : = 1000 to 9999 do begin c1 : = a div 1000; c2 : = (a div 100) mod 10; c3 : = (a div 10) mod 10; c4 : = a mod 10; if (c1 < > c2) and (c1 < > c3) and (c1 < > c4) and (c2 < > c3) and (c2 < > c4) and (c3 < > c4) then writeln(a); end; end.
обьем вини изначальный
прирост от меда
прирост от сгущенки
время реализации прироста
время худенья
радиус дверей
var a: array [1..8,1..5]of integer;
s,i,k: integer;
begin
randomize;
for i: = 1 to 8 do begin
for k: = 1 to 5 do begin
a[i,k]: = random(20)-10;
write(a[i,k]: 3,' ');
if a[i,k] mod 2 = 0 then s: =s+a[i,k];
end;
writeln;
writeln('s=',s);
end.
Популярные вопросы