Здесь Вы можете найти ответы на многие вопросы или задать свой вопрос!
var
x,y: real;
i,n: integer;
begin
n: =1;
x: =1;
y: =1;
for i: =1 to 5 do
n: =n*i;
x: =-1.5*x;
y: =y*(x+1/n);
end;
writeln(y: 15: 5);
end.
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 s,i,n,a: integer;
read(a,n);
s: =1;
for i : = 1 to n do
s: =s*a;
writeln('a в степени n = ',s);
s: =s*i;
writeln(s);
s: =0;
for i: = 1 to n do
read(a);
s: = s + a;
writeln('среднее арифметическое = ',s/n)
Популярные вопросы