Ответы
Ответ дал:
0
program Zd;
var
a, n, I, res: Integer;
begin
WriteLn('Input the a: ');
Read(a);
WriteLn('Input the n: ');
Read(n);
res:=a;
for i:=1 to n - 1 do
res:=res * (a + i);
WriteLn('Результат: ', res);
end.
var
a, n, I, res: Integer;
begin
WriteLn('Input the a: ');
Read(a);
WriteLn('Input the n: ');
Read(n);
res:=a;
for i:=1 to n - 1 do
res:=res * (a + i);
WriteLn('Результат: ', res);
end.
Похожие вопросы
2 года назад
7 лет назад
10 лет назад
10 лет назад
10 лет назад