From c42260ed85ea4f5d3df7f6ab8079ee77bc37f4f8 Mon Sep 17 00:00:00 2001 From: utsav160 <72231109+utsav160@users.noreply.github.com> Date: Fri, 1 Oct 2021 22:16:14 +0530 Subject: [PATCH] Fibonacci series program to find fibonacci series in java --- Fibonacci series | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Fibonacci series diff --git a/Fibonacci series b/Fibonacci series new file mode 100644 index 0000000..90148e2 --- /dev/null +++ b/Fibonacci series @@ -0,0 +1,15 @@ +class FibonacciExample{ +public static void main(String args[]) +{ + int n1=0,n2=1,n3,i,count=10; + System.out.print(n1+" "+n2);//printing 0 and 1 + + for(i=2;i