Recent questions tagged identify-function

0 votes
1 answer
3
5 votes
2 answers
4
0 votes
1 answer
5
1 votes
3 answers
7
What does the following function compute for $x \neq 0?$float isi1(float x, int y) { if (y==0) { return 1; } else if (y>0) { return isi1(x,-y); } else { return isi1(x, y+...
1 votes
2 answers
10
Consider the following program. Assume that $x$ and $y$ are integers.f(x, y) { if (y != 0) return (x * f(x,y-1)); else return 1; }What is $f(6,3)?$$243$$729$$125$$216$
1 votes
1 answer
21
1 votes
1 answer
24
1 votes
0 answers
26
Function what(x, n:integer): integer:Varvalue : integerbeginvalue := 1if n 0 thenbeginif n mod 2 =1 thenvalue := value * x;value := value * what(x*x, n div 2);end;what :...