Question: Lab Arrays & Vectors Activity Provide your C++ source code and screenshots of your program outputs. 1. The Fibonacci numbers are defined by the following


Lab Arrays & Vectors Activity Provide your C++ source code and screenshots of your program outputs. 1. The Fibonacci numbers are defined by the following sequence: fi = 1 f2 = 1 fn = fn-1 + fn-2 Write a program that computes the first 100 Fibonacci numbers and stores them in an array. The program then allows the user to enter an integer n (which is a strictly positive number, i.e. greater than 0) and displays the nth Fibonacci number, fn, that is stored in the array. 2. The following program maintains a list of country names, and another list indicating average minutes of TV watched per day in each corresponding country. #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
