Concatenative topics
Concatenative meta
Other languages
Meta
A factorial is a function in mathematics that multiplies a number by every number that precedes it.
int main(){
int x = 7;
printf("The factorial of the number is %d", fact(x));
return 0;
}
int fact(int y)
{
if (y == 0)
return 1;
return y * fact(y - 1);
}
This revision created on Wed, 20 Mar 2024 15:48:53 by neauoire