👤
Vickyvichy
a fost răspuns


De parcurs, vreau in detaliu


De Parcurs Vreau In Detaliu class=

Răspuns :

  1. f(3,9) => 15>9/5 Adevarat => return 3
  2. f(1,1000) =>
  • 1*5=5>1000/5=200 FALS => return f(5,200)
  • 5*5=25>200/5=40 FALS => return f(25,40)
  • 25*5=125>40/5=8 ADEVARAT => return 25

f(1,1000) => return 25