java-assignment Write a Java program that takes an integer input from the user and calculates the factorial of the number. Then, write a method to calculate the sum of the digits of this factorial.