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

Solve all 6 with process for BRAINLIEST.(Find tsa, csa, lsa and volume)​
Show all work ^(+)=/ (3 points – 1 converting to same base, 1 writing the equation, 1 solving the equation)
Assume that females have pulse rates that are normally distributed with a mean of =76.0 beats per minute and a standard deviation of o=12.5 beats per minute. Co
Given the ordered pairs A(1,4) and B(0,-4), create a sine and cosine equation
True or False: The invention of gunpowder, moveable wooden type and mosaics are closely associated with the Tang and Song dynasties.
Une correctamente las parejas. 1. paella 2. mofongo 3. arroz salteado 4. congrí influencia de China en la gastronomía cubana. influencia del Caribe en la gastro
I’m really stuck on how to answer this question I need help
Question 2 (1 point) A zinc production company uses the following chemical reaction: Ca Calcium 15 g + Aqueous Solution ZnCO₂ Zinc carbonato 25 g Aqueous Soluti
Topic 6: Writing Linear Equations 26. Write a linear equation that passes through the point (-6, 1) with a slope of 1/2
(B) 12 24 and 32 ( mod15)​