







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
An introduction to recursion, a programming concept where functions call themselves to solve complex problems. It covers the basics of recursive functions, their limitations, and how they can be used to compute factorials and the fibonacci series. The document also discusses recursion vs. Iteration.
Typology: Slides
1 / 13
This page cannot be seen from the preview
Don't miss anything!
- fig05_14.c (Part
Enter an integer: 5 Fibonacci( 5 ) = 5
Enter an integer: 6 Fibonacci( 6 ) = 8
Enter an integer: 10
Fibonacci( 10 ) = 55
Enter an integer: 20 Fibonacci( 20 ) = 6765
Enter an integer: 30 Fibonacci( 30 ) = 832040
Enter an integer: 35 Fibonacci( 35 ) = 9227465