0

# How do you find factorial in fox pro?

Updated: 12/10/2022

Wiki User

7y ago

FoxPro doesn't have any special factorial function, so you would have to write your own factorial function. It's fairly easy, for example:

function factorial

lparameters n

result = 1

for i = 1 to n

result = result * n

next

return result

If you have an older version of FoxPro, you may need to replace "lparameters" by "parameters".

Or even simpler, with recursion:

function factorial

lparameters n

return iif(n<=1, n, n*factorial(n-1))

Wiki User

7y ago

Earn +20 pts
Q: How do you find factorial in fox pro?
Submit
Still have questions?
Related questions

### Write the Pseudocode to find the factorial of a number?

Pseudo code+factorial

### Fox pro program to reverse the given number?

reverse programe in fox pro

Kat

tubol

### How can you figure out combinations in math?

If you have N things and want to find the number of combinations of R things at a time then the formula is [(Factorial N)] / [(Factorial R) x (Factorial {N-R})]

### C program to find factorial of a no?

this is a code for calculating it recursivelly: float Factorial (float n) { if (n&lt;=1) return 1.0; else return n* Factorial(n-1); }

factorial

### What are the dbms softwares available in the market and find the license sotwares?

oracle, fox pro,ms access ,mysql and sql servers

### What is Visual Fox Pro?

Visual Fox Pro is a database language for Windows. It originated from FoxPro which was a competitor to dBase. See also the related link below.

### What is the value of 9 factorial plus 6 factorial?

The value of 9 factorial plus 6 factorial is 363,600

### How do you find factorials?

to find factorials you just multiply the factorial like this. for example 6! you would do 6x5x4x3x2. a little trick of mine is to multiply the previous factorial's answer by the factorial you are trying to make's number like this 6!=5! 5!=5x4x3x2 i hope this was helpful' Dayna,a 10 year old girl

It is 4060.