Jaegers8569 Jaegers8569
  • 06-03-2024
  • Computers and Technology
contestada

What does the following function do? int fun(int x, int y) { if (y == 0) return 0; return (x + fun(x, y-1)); }

a. x+y
b. x+y*y
c. x*y
d. pow(x,y)

Respuesta :

Otras preguntas

in which direction did the black death spread during 14th century
in which direction did the black death spread during 14th century
what is the measure of an exterior angle of a regular quadrilateral
Can you please help me with #32 im getting confused.
Which of the following statements about scientific models is true?a. Models are useful only if you can hold them in your hands.b. models are useful only if they
How do heavy sediment deposits affect waterways
How would Lincoln's assassination affect the debate over Reconstruction?
in which direction did the black death spread during 14th century
A really simple question that I just don't understand.
How would the graph of the relation y=3x-2 change if the 3 and -2 were both doubled? The graph would be a) steeper and have a lower y-interceptb) steeper and ha