subject

Each new term in the fibonacci sequence is generated by adding the previous two terms. by starting with 1 and 2, the first 10 terms will be: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, a term index is entered and fibonacci sequence is calculated up to that term. if the index is 5 then the sequence is : 0, 1, 1, 2, 3 if the index is 7 then the sequence is : 0, 1, 1, 2, 3, 5, 8 write a program that will print the fibonacci sequence to the term index entered by the user. the program will ask you if you want to print another sequence; if yes repeat if no end your program

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 13:30
Spoons are designed to be used for: spring hammering. applying body filler. identifying high and low spots. sanding highly formed areas.
Answers: 3
question
Computers and Technology, 24.06.2019 15:30
If you want to delete an entire word at a time, which key should you press along with the backspace or delete key?
Answers: 1
question
Computers and Technology, 24.06.2019 23:00
What is a current gdp and what is a real gdp?
Answers: 1
question
Computers and Technology, 25.06.2019 11:30
If you have a document that is relevant to more than one folder on your computer, what should you do? a. save the document to the most appropriate folder.b. save the document in each folder.c. save the document in my documents rather than in one of the folders.d. save the document to libraries.
Answers: 2
You know the right answer?
Each new term in the fibonacci sequence is generated by adding the previous two terms. by starting w...
Questions
question
History, 16.02.2020 19:08
question
Computers and Technology, 16.02.2020 19:10
question
Mathematics, 16.02.2020 19:12
question
Mathematics, 16.02.2020 19:13
question
Mathematics, 16.02.2020 19:15
Questions on the website: 13722367