Error_Factorial
CodeChefOpen on judge ↗
Alley is decent in Mathematics her teacher gave her a home work to "Write a program to find a factorial of a number". Condition: if nCODE #include $\lt$stdio.h$\gt$ int main() { int n, i; long long int fact = 1; scanf("%lld", &n); for (i = 1; i Note :- This problem can only be accepted in C language. ### Input - First line will contain $N$ ,a number whose factorial have to find. ### Output
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start