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, 22.06.2019 16:00
You have inserted new slides based on a word outline. how do you format these new slides to match the powerpoint presentation formatting? a. select all slides in the presentation and click format on the home tab. b. select the new slides and click reset on the home tab. c. select all slides in the presentation and click reset on the home tab. d. select the new slides and click format on the home tab.
Answers: 3
question
Computers and Technology, 22.06.2019 18:30
Which of the following is an example of intellectual properly! oa. new version of a novelb. journal of ideasc. pages of a bookood. lines of a poem
Answers: 2
question
Computers and Technology, 22.06.2019 18:40
Mariah was working on a multimedia presentation that included both video and audio files. the file was huge, and she wanted to send it to her coworker in another office. she needed to reduce the size of the file so that it could be transmitted faster. the utility she used to do this was
Answers: 2
question
Computers and Technology, 23.06.2019 07:30
What key should you press and hold to select and open multiple files at one time? enter alt control esc
Answers: 1
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, 30.03.2020 13:35
question
Chemistry, 30.03.2020 13:42
question
Mathematics, 30.03.2020 13:43
question
Mathematics, 30.03.2020 13:45