Program for factorial

Enter the number of factorial (1-10) 0 invalid input. please enter a number between 1 and 10 enter the number of factorials (1-10) 13 invalid input.