• Cursos
  • Compilador de Código
  • Debatir
  • Precios
  • Teams
Menu
0

Is my code similar to recursion

https://code.sololearn.com/c2p61Y1Ldu31/?ref=app

isit
25th Apr 2020, 4:15 AM
Jaisuriya
Jaisuriya - avatar
2 Respuestas
+ 3
No, it is a loop. A recursive function is a function that calls itself. Check these examples: https://code.sololearn.com/W34vzvOE6bu1/?ref=app https://code.sololearn.com/ceu7V91HKbBT/?ref=app https://code.sololearn.com/c3eg8MvlATAf/?ref=app https://code.sololearn.com/cOInw4yJq7wi/?ref=app https://code.sololearn.com/wjqW3wmddv0X/?ref=app https://code.sololearn.com/cE7lXk0wwKMN/?ref=app https://code.sololearn.com/c4phTP2wUQ3u/?ref=app https://code.sololearn.com/cOfMIY803RdZ/?ref=app https://code.sololearn.com/c4Q0rFUFxZIP/?ref=app https://code.sololearn.com/cj7pAcAEmqTm/?ref=app
25th Apr 2020, 4:26 AM
Jesus Eduardo CanulK
Jesus Eduardo CanulK - avatar
+ 2
It's just a loop.
25th Apr 2020, 4:34 AM
Tarun Kumar
Tarun Kumar - avatar

¿Tienes a menudo preguntas como esta?

Aprende gratis de forma más eficaz

  • Introducción a Python

    7,1M de estudiantes

  • Introducción a Java

    4,7M de estudiantes

  • Introducción a C

    1,5M de estudiantes

  • Introducción a HTML

    7,5M de estudiantes

Ver todos los cursos
En tendencia hoy
Audio adding
1 Votes
playground input
0 Votes
What is problem in this code
0 Votes
Stuck in Quize
1 Votes
C Program
0 Votes
This Program Does Something Weird. Can You Explain Why?
1 Votes
Software developer
0 Votes
Asking for final year project ideas!
1 Votes
How does JavaScript's event loop handle asynchronous operations like setTimeout, Promises, and async/await, and what are the dif
1 Votes
есть кто на русском разговаривает?
0 Votes