Question 3
In fibonacci series, next number is the sum of previous two numbers for example 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55 etc. The first two numbers of fibonacci series are 0 and 1.
Write a java program that prints the fibonacci series up to N numbers given by the user, make sure you write your main method and your imports.
Enter value of n:5 Fibonacci Series:0 1 1 2 3