In the following pseudocode which uses recursion to find the factorial of a number, which is the recursive case?
```
Module main()
Declare Integer number
Declare Integer numFactor
Display "Enter a non-negative integer:"
Input number
Set numFactor = factor(number)
Display "The factorial of ", number, " is ", numFactor
End Module
Function Integer factor(Integer n)
If n == 0 Then
Return 1
Else
Return n * factor(n - 1)
End If
End Function
```
a. n == 0
b. n * factor(n - 1)
c. factor(n - 1)
d. n > 0
d. n > 0
Computer Science & Information Technology
You might also like to view...
How can level of detail (LOD) control be useful in reducing download times?
What will be an ideal response?
Computer Science & Information Technology
Fault tolerant hard disk configurations are typically implemented by a(n) ____________________.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology