Question 7 Writes a PL/SQL function that calculates the factorial of a number passed as a parameter. The Factorial of a number n is defined as - 0! = 1 %3D n! = n*(n-1)*(n-2)*(n-3)... 1 for n> 0

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter12: Database Queries With Sql
Section: Chapter Questions
Problem 9RQ
icon
Related questions
Question
Question 7
Writes a PL/SQL function that calculates the factorial of a number passed as a parameter.
The Factorial of a number n is defined as -
O! = 1
n! = n*(n-1)*(n-2)*(n-3)... 1 for n>0
Transcribed Image Text:Question 7 Writes a PL/SQL function that calculates the factorial of a number passed as a parameter. The Factorial of a number n is defined as - O! = 1 n! = n*(n-1)*(n-2)*(n-3)... 1 for n>0
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Table
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning