Answer the question
In order to leave comments, you need to log in
Find the product of the series 1*1/2*1/3*//*1/n, n is entered by the user. Programming Pascal. Can you help me find it?
Find the product of the series 1*1/2*1/3*//*1/n, n is entered by the user. Programming Pascal.
Answer the question
In order to leave comments, you need to log in
I don't remember the Pascal syntax.
but I remember JavaScript)))
var n=prompt();var a=1;for(i=1;i <= n;i++){a=a*(1/i);};alert(a);
What is the complexity of the cycle to start?
x := 0
for i := 1 to n do
begin
x := x * 1/i
end;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question