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

What was the earliest known civilization? a. Mesopotamia b. Egypt c. Sumer d. Civitas
how can you take 2 letters from a 5 letter word and still have 6 left?
What is the distinct factors of 48
Why did the Allies want to seize New Guinea, the Solomon Islands, and the surrounding islands?
how can you take 2 letters from a 5 letter word and still have 6 left?
Why did Maryland settlers challenge Lord Baltimore in the 1630s and 1640s?
6,362,049 in word form
What is 15% of 48,000 show the work
4w-3≥33 whats the anser
What is the volume of a sphere with a diameter of 14 centimeters? Use 3.14 for pi. Round your answer to the nearest hundredth. 1077.02cm^3 1436.03cm^3 1975.43cm