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

The different environments of colonial North America contributed to a wide variety of
Which word or words and punctuation best corrects any errors in the sentence? I don't have any bait for fishing however we could dig some worms. A. fishing; how
Which event helped soldiers returning from World War II reintegrate into US society?
Which statement about cellular respiration is true? It produces oxygen. It requires water. It is used by every living cell. It converts energy to food.
What two numbers multiply to 100 and add to 20???
A cylindrical can hold three tennis balls. The height of the stacked balls is 9 inches. ~About what percentege of the volume of the can is NOT occupied by the t
Suki is making a quilt from two different kinds of fabrics. One is 48 inches wide and the other is 54 inches wide. What are the dimensions of the the largest sq
A girl with a mass of 40 kg is swinging from a rope with a length of 2.5 m. What is the frequency of her swinging?
how did rome control privileges and benefits of citizenship
Why might Mark Twain have written about lower-class citizens in his satires?