A factorial program
Enter an integer between 3 and 50: