factorial function:
in factorial(int x) {
int t;
for(t = x; t >-;t++)
x = x*t;
return x;
}
I hope you read into function calling and creation.
factorial function:
in factorial(int x) {
int t;
for(t = x; t >-;t++)
x = x*t;
return x;
}
I hope you read into function calling and creation.