answersLogoWhite

0

The following is not tested:

function factorial
parameters number
private product, i
product = 1
for i = 1 to number
product = product * i
next
return product

The following is not tested:

function factorial
parameters number
private product, i
product = 1
for i = 1 to number
product = product * i
next
return product

The following is not tested:

function factorial
parameters number
private product, i
product = 1
for i = 1 to number
product = product * i
next
return product

The following is not tested:

function factorial
parameters number
private product, i
product = 1
for i = 1 to number
product = product * i
next
return product

User Avatar

Wiki User

15y ago

Still curious? Ask our experts.

Chat with our AI personalities

TaigaTaiga
Every great hero faces trials, and you—yes, YOU—are no exception!
Chat with Taiga
JudyJudy
Simplicity is my specialty.
Chat with Judy
RafaRafa
There's no fun in playing it safe. Why not try something a little unhinged?
Chat with Rafa
More answers

The following is not tested:

function factorial
parameters number
private product, i
product = 1
for i = 1 to number
product = product * i
next
return product

User Avatar

Wiki User

15y ago
User Avatar

Add your answer:

Earn +20 pts
Q: Foxpro 2.6 find a factorial given number?
Write your answer...
Submit
Still have questions?
magnify glass
imp