Lab - Recursion


Objectives


Discussion


Setup

We need to:

  1. Create a directory called recursion_practice in your cs23001 folder

  2. Create fibonacci.cpp


Assignment

Fibonacci sequences are a sequence of integers where at each position, n, the value at n is the the two previous values at n - 1 and n - 2. We will use 0 and 1 as the first two digits in this assignment. The sequence would be: 0 1 1 2 3 5 8 13 21 34 etc.... You are to implement the Fibonacci sequence:


Requirements

The following should be true when you are done, NAMES MUST MATCH EXACTLY:


URL: https://data-structures.cs.kent.edu/labs/Lab9
Last update: EST