Consider the following function fpp.
def foo(m):
if m == 0:
return(0)
else:
return(m+form-1))
Which of the following is correct?
The function always terminates with f(n) factorial of n
The function always terminates with f(n) = n(n+1)/2
The function terminates for non negative with f(n) = factorial of n
The function terminates for nonnegative
Answers
Answered by
2
Answer: Hope it helps !!
Explanation:
non negative with n(n+1)/2
Similar questions
English,
3 months ago
Math,
3 months ago
India Languages,
7 months ago
Math,
7 months ago
Environmental Sciences,
11 months ago
English,
11 months ago