Question
Write a script that performs the following: 1) Creates the Fibonacci function (refer to a mathematical resource) 2) Creates an anonymous block that allows the
Write a script that performs the following:
1) Creates the "Fibonacci" function (refer to a mathematical resource)
2) Creates an anonymous block that allows the user to input an integer value, that will be used as the upper bound of a FOR Loop
3) Calls the "Fibonacci" function for each iteration of the FOR Loop and displays the value of the iteration variable and the corresponding "Fibonacci" number.
Notes:
Substitution variables are described in Chapter 2 and in the SQLPlus Reference section, http://docs.oracle.com/cd/E11882_01/server.112/e16604/ch_five.htm#CACIFHGB (Links to an external site.)Links to an external site.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started