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

Which of these sports was included in the first modern olympic games held in 1886?
What is a general rubric?
Which set of side lengths could be the sides of a triangle? A. 1 cm, 2 cm, 3 cm B. 5 cm, 9 cm, 18 cm C. 7 cm, 16 cm, 24 cm D. 10 cm, 24 cm,
Wayne has a recipe on a 3-inch-by-5-inch index card that he wants to enlarge to 15 inches long. How wide will the enlargement be?
Tank a has a capacity of 9.5 gallons. 6 1/3 gallons of the tank's water are poured out. how many gallons of water are left in the tank?( Remember: 0.5=1/2)
Find the area of a parallelogram with vertices at P(–8, –3), Q (–7, 3), R(–9, 3), and S(–10, –3).
Siva added a "Contact Form" to her website. This is used for the collection to be included in A) business contacts B) databases C) security D) spam
A cart travels down a ramp at an average speed of 5.00 centimeters/second. What is the speed of the cart in miles/hour? (Remember there are 100 centimeters per
PLEASE HELP ASAP 10 POINTS!!!!!!!!!! Read the sentence. Some wetlands are less protected than others. In the sentence, which is the word less? A.a noun
From the list below, determine which properties are for compounds. I. It takes a large amount of energy to separates the elements of a compound. II. The propo