Lab Goal : The lab was designed to teach you how to use arrays to simplify solving more complexproblems.Lab Description : Generate a Fibonacci sequence. Each number in the Fibonacci sequence is thesum of the two preceding numbers in the sequence. The first two numbers in the sequence are both 1. Thethird number is 2 , the fourth number is 3, the fifth number is 5, and the sixth number is 8. The program shouldbe able to return a specified number in the fibo sequence. If a number is specified that is out of range, a -1should be returned.Sample Data : set size to 50123456111621314146set size to 11set size to 21211Sample Output : 112358899871094613462691655801411836311903111-1
Put this in java
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here