Input
Output
>> javac Main.java
>> java Main
Enter any number : 
Factorial of 5 : 120