PL/SQL Program for Fibonacci Series

Here you will get pl/sql program for fibonacci series.

It is a series in which next number is the sum of previous two numbers.

 

PL/SQL Program for Fibonacci Series

 

Output

Enter value for n: 6
old 5: n number:=&n;
new 5: n number:=6;
Fibonacci series is:
0
1
1
2
3
5
8

Leave a Reply

Your email address will not be published. Required fields are marked *