Fill in the code to complete the following method for computing factorial.

```
/** Return the factorial for a specified index */
public static long factorial(int n) {
if (n == 0) // Base case
return 1;
else
return _____________; // Recursive call
}
```
a. n * (n - 1)
b. n
c. n * factorial(n - 1)
d. factorial(n - 1) * n


cd

Computer Science & Information Technology

You might also like to view...

Unintentional _____________ occur in software and hardware because of failures in the development and sustainment process.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

____________________ is the study of safe and efficient environments, particularly working environments.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Sometimes information on a Web page will change quickly. To assure you have the most current page, users should click the ________ button to update the page

A) Back B) Refresh C) Cache D) Home

Computer Science & Information Technology

Which of the following is NOT a type of virtual network available in Hyper-V?

A. external B. internal C. passthrough D. private

Computer Science & Information Technology