|
@ -8,9 +8,9 @@ int main() { |
|
|
printf("Enter a number to calculate its factorial: \n"); |
|
|
printf("Enter a number to calculate its factorial: \n"); |
|
|
int number = usergetd("Enter an even number: "), minInput, NULL); |
|
|
int number = usergetd("Enter an even number: "), minInput, NULL); |
|
|
|
|
|
|
|
|
int result = fakultaet(num); |
|
|
|
|
|
|
|
|
int result = fakultaet(number); |
|
|
|
|
|
|
|
|
printf("The factorial of %d is: %d\n"); |
|
|
|
|
|
|
|
|
printf("The factorial of %d is: %d\n", number, result); |
|
|
|
|
|
|
|
|
return 0; |
|
|
return 0; |
|
|
} |
|
|
} |