Computer Science, asked by anjalikhertala, 10 months ago

What will be the value of s if N=20?

Read N
Function sample(N)
s = 0, f = 1, i=1;
Do Until i <= N
f = f * i;
s = s +(i / f);
i=i+1
End Do
return(s);
End Function

Answers

Answered by sujathamacha9
1

Answer:

What will be the value of s if N=20?

Read N

Function sample(N)

s = 0, f = 1, i=1;

Do Until i <= N

f = f * i;

s = s +(i / f);

i=i+1

End Do

return(s);

End Function

Explanation:

mark me brainlist

Similar questions