Здесь Вы можете найти ответы на многие вопросы или задать свой вопрос!
(1-2+3)*4*5=40,
(-1+2+3+4)*5=40
var a,b,c,d: integer;
begin
writeln ('vvedite a');
read(a);
writeln ('vvedite b');
read(b);
writeln ('vvedite c');
read(c);
writeln ('vvedite d');
read(d);
if (a> b) and (a> c) and (a> d) then writeln('samoe bolshoe chislo - a')
else writeln('a ne samoe bolshoe');
end.
строка, рот, ройка, ретро, рост, койка, река,тройка,тропа,река.
var a: array [1..10] of integer;
min,max,i,c,b: integer;
read(c,b);
randomize;
for i : = 1 to 10 do
a[i]: = random(b) -c+1;
min: =1;
max: =1;
for i: = 1 to 10 do
if a[min]> a[i] then min: =i;
if a[max]< a[i] then max: =i;
end;
writeln(a[min], a[max]);
Популярные вопросы