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

how to answer part d) ??
HELP ME SPANISH!! -Use the correct form of tener: 1.Ustedes no __________ hambre. Use the correct form of the verb ser or estar: 2.Yo __________ emocionada Use
“prior to any questioning, the person must be warned that he has a right to remain silent, that any statement he does make may be used as evidence against him,
Jesse owns a sporting goods store that sells skis and snowboards. The store earns a profit of $52 for each ski sold and a profit of $64 for each snowboard sold.
Jesse owns a sporting goods store that sells skis and snowboards. The store earns a profit of $52 for each ski sold and a profit of $64 for each snowboard sold.
Which of the following was a famous cow town? a. Abilene, Kansas c. Alden, Kansas b. Amarillo, Texas d. Abilene, Texas
Which of the following primary sources is the least credible? a. a presidential speech about immigration policy b. the diary of an immigrant c. an immigrant'
What is the key building block of living tissue and ecosystems?
Soil formation involves both a. decaying and erosion of rocks b. decomposition and crystallization of rocks c. chemical weathering and erosion of rocks d. physi
what event led to the anti-war protest in kent state in 1970