Computer Science, asked by sravankumar96, 9 months ago

what is the output of the following code for n=91?
int fun(int n)
if (n>100)
return n-10
end if
else
return fun(fun(n+1))
end fun​

Answers

Answered by vpavithra430
0

Answer:

Function fun (x:integer):integer;

Begin

If x > 100 then fun = x – 10

Else fun = fun(fun (x+11))

End;

Explanation:

HEY MATE THIS WOULD HELP U

Similar questions