Write a recursive version of this iterative function:

```
int g(int n)
{
int h = 1;
while (n > 1)
{
h = h * n;
n--;
}
return h;
}
```


```
int g(int n)
{
if(0==n || 1 ==n)
return 1;
return n * g(n-1);
}
```

Computer Science & Information Technology

You might also like to view...

File ____ describe(s) file characteristics such as name, type, location, and size.

A. Explorer B. names C. properties D. extensions

Computer Science & Information Technology

________ provide periodic updates of what is occurring in the business.

A) Performance reports B) Records C) Data capture reports D) Blank forms

Computer Science & Information Technology

Scanning a product's ________ code with a smartphone can take you to a website, a video, or a Facebook page for more information about the product

Fill in the blank(s) with correct word

Computer Science & Information Technology

In an expression, you must type the field name exactly as it was created in Table Design View; you also need to match the capitalization.?

Answer the following statement true (T) or false (F)

Computer Science & Information Technology