Write a program that reads an integer in [0,20] and displays its factorial, else display Invalid number. Note: n!=1*2*3*....*n , 0!=1.
Sample Input 1:
5
Sample Output 1:
120
Sample Input 2:
21
Sample Output 2:
Invalid number
References: C From Theory