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 17:30
Per the municipal solid waste report, what are the most common sources of waste (trash
Answers: 3
question
Computers and Technology, 23.06.2019 19:30
You can apply several different worksheet themes from which tab?
Answers: 1
question
Computers and Technology, 24.06.2019 02:00
How are we able to create photographs differently than 100 years ago? explain your answer in relation to your photograph you selected.
Answers: 1
question
Computers and Technology, 24.06.2019 02:30
Write the pseudo code for this problem based on what you learned from the video. the purpose is to design a modular program that asks the user to enter a distance in kilometers, and then converts that distance to miles. the conversion formula is as follows: miles = kilometers x 0.6214
Answers: 3
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
Mathematics, 18.03.2021 03:00
Questions on the website: 13722361