teresagonzalez9624 teresagonzalez9624
  • 12-04-2024
  • Computers and Technology
contestada

What does fun2() do in general?
{int fun(int x, int y) { if (y == 0) return 0; return (x + fun(x, y-1) ) ; } int fun2(int a, int b) { if (b == 0) return 1; return fun(a, fun2(a, b-1) ) ; }
a) x*y
b) x+x*y
c) xy
d) yx

Respuesta :

Otras preguntas

Need help asapppppppppdhhdhdhdhdhdhdhdhdhdhdhdhfh
The classic blues form consists of __________________. Group of answer choices 4 bars AABA 32 bars 12 bars
What is the "spirit of 1776" and how does it relate to Anti-Imperialism?
Green Company has $10,000 of assets. Fifty percent of the assets were acquired from the issue of common stock and thirty percent were acquired from earnings. Ba
Please help with number 8
Briefly explain any steps you are taking, or plan to take, to gain hands-on experience in your program of study. (50 – 100 words).
What is 2/3 of 3/14? Make sure the answer is fully reduced.
You can jog around your block twice and the park once in 10 minutes. You can jog around your block twice and the park 3 times in 22 minutes. Write a system of l
The map shows the Fertile Crescent.A map of the Fertile Crescent. The Fertile Crescent begins at the northern end of the Persian Gulf, continues north and west
Find the value of y. y=