Problem Statement

Write a Java program to find the factorial of a number.