Description: 2. A program, use the following simple variable called " data translation" method to calculate the first n Fibonacci sequence item (the value of the specific items) and display on the screen (a positive integer n the keyboard input): Description of variables old1 = 1 , old2 = 1, newItem new Fibonacci item newItem always " away from it recently," the first two (old1 and old2) and cumulative. Then through " old1 = old2 old2 = newItem " so-called " data translation." Then another new Fibonacci calculation item newItem, in cycles, until the find the series until the first n items.
To Search:
File list (Check if you may need any files):
骑士巡游.cpp
1-6骑士巡游.cpp
1-3数据平移.cpp