Question: 1. Write a loop to create a vector of integers containing all the Fibonnaci numbers less than or equal to 1000. Begin the vector containing

1. Write a loop to create a vector of integers containing all the Fibonnaci numbers less than or equal to 1000. Begin the vector containing values of 0 and 1. The next value in the Fibonacci series is the sum of the previous two. So the vector should finally contain the values 0, 1, 1, 2, 3, 5, 8, etc. up to no greater than 1000. Finally, loop through the vector and display each value in the vector to the screen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
