C
AI-enhanced title
int main()
int n;
cin >> n;
if (n < 0)
else {
factorial *= i;
cout << "Factorial of " << n << " = " << factorial;
return 0;