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

Linda is training for a half marathon. she ran 3 1/3 miles on Monday 3.25 miles on Tuesday, and 2 1/2 miles on Wednesday. How many miles did she run in those 3
What’s the answer for 18 and 19?
an airship flies 150 km with the wind and then turn around and flies back taking 5 hour and 30 min round trip. Find the speed of the airship in calm weather is
_____________ is the combined flow of return flow and DPS.
Which of the coordinate points below will fall on a line where the constant of proportionality is 5? Select all that apply. A) (1,6) B) (5, 10) C) (1,5) D) (3,
Why’s the answer to 16 and 17? Need help!
What is a major potential problem with DNA evidence? Having too much DNA Contamination from other sources Having to heat up DNA to keep it from degrading Having
HELP I NEED HELP ASAP HELP I NEED HELP ASAP HELP I NEED HELP ASAP HELP I NEED HELP ASAP HELP I NEED HELP ASAP HELP I NEED HELP ASAP HELP I NEED HELP ASAP HE
Jenny went on a walk everyday for 4 weeks with her dog. She got paid $30 dollars everyday. How much money does she have?
Suppose the probability of two people in your class having the same birthday as 0.50 what are the odds of two people having the same birthday