For this assignment, you will write a Java program that calculates and prints the factorial for a number input by the user.
For this assignment, you will write a Java program that calculates and prints the factorial for a number input by the user.