Input
Output
>> javac Main.java
>> java Main
Enter any number : 
Product of all digits in 123456 : 720