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

Brenda, Katherine, and Patrice earned a combined 17 points during their team's game. Brenda earned 4 points and Katherine earned 8 points. Which of the followin
Choose an event or incident that occurred between the end of World War II and the passage of the Civil Rights Act of 1964 that exemplifies Martin Luther King, J
The green residue you see in an aquarium is called _____. spirogyra cladophora nostoc volvox
The United Kingdom is made up of:EnglandFranceNorthern IrelandScotlandThe NetherlandsWales
45 - point question! Help me on the attached file and explain answer please! :D
how to get the answer to my sister is 9 1/2 years old. my brother is 4 3/4 years younger than my sister how old is my brother
What is the equivalent fraction of 4/5
For every 5 coins Cameron gets, she gives 2 coins to her brother Frankie. If Cameron has 9 coins, how many does Frankie have? Show your work
Felicia wrote, . . . I’ve dreamed since childhood of working on a ranch . . . where thoroughbreds were raised. Where should quotation marks be added? before the
What are the major reservoirs in the carbon cycle