Loops – Arithmetic – Problem #18
IIT Kharagpur CS10001 / CS11001 Programming and Data Structures Lab Question Archive
Difficulty: Easy
Problem Statement
Write a C program to read an integer n, and then print the value of factorial n (i.e., n!). Assume that n < 10. For example, if n = 5, then the program should print 120.