You are on page 1of 3

Documentation on Finding the

Nth Number of the Fibonacci Series

CC11 – CCB
BSIT- 1

July 20, 2018


Table of Contents

I. Introduction

1.1 Background of the Study 1

1.2 Purpose 1

II. Program Design and Implementation

2.1 Program Flowchart 1


I. Introduction 1

1.1 Background of the Study


This sequence was known as early as the 6th century AD by Indian mathematicians, but
it was Fibonacci who introduced it to the west after his travels throughout the Mediterranean
world and North Africa. He is also known as Leonardo Bonacci, as his name is derived in Italian
from words meaning “son of (the) Bonacci”.

Starting with 0 and 1, each new number in the sequence is simply the sum of the two before it.

0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377 . . .

1.2 Purpose

This program is designed for users to input their desired number


and this will give the nth number of the series depending on the user input.

II. Program Design and Implementation


2.1 Program Flowchart

START

Fib1=0, Fib2=1, Fib3, ctr

Input count

ctr <
count? END

Fib3 = Fib1 + Fib2

Fib1 = Fib2

Fib2 = Fib3

You might also like