Repeat Exercise 12 to allow the user to repeat finding the Fibonacci number for an integer. Use

Question:

Repeat Exercise 12 to allow the user to repeat finding the Fibonacci number for an integer. Use input, message, and confirmation dialog boxes. Confirmation dialog boxes are discussed in Appendix A.6. An input dialog box is used to input an integer. Then, a message dialog box displays the Fibonacci number for the integer. After that a confirmation dialog box should appear to see if the user would like to continue. Use the best iteration structure.


Data From Exercise 12

The Fibonacci sequence is the series of numbers which can be found by adding up the two numbers before it as shown below:

\[
0,1,1,2,3,5,8,13,21,34, \ldots
\]

Write a complete program to compute the Fibonacci number for an integer.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: