text: /* ************************************************************************** */
  /*                                                                            */
  /*                                                        :::      ::::::::   */
  /*   ft_fibonacci.c                                     :+:      :+:    :+:   */
  /*                                                    +:+ +:+         +:+     */
  /*   By: mghazari <maximeghazarian1@gmail.com>      +#+  +:+       +#+        */
  /*                                                +#+#+#+#+#+   +#+           */
  /*   Created: 2020/10/19 16:25:21 by mghazari          #+#    #+#             */
  /*   Updated: 2020/10/19 18:24:19 by mghazari         ###   ########.fr       */
  /*                                                                            */
  /* ************************************************************************** */
  
  int ft_fibonacci(int index)
  {
  	if (index < 0)
  		return (-1);
  	if (index < 2)
  		return (index);
  	return(ft_fibonacci(index - 1) + ft_fibonacci(index - 2));
  }
  