2 write a program in java that accepts an integer and computes its factorial,for loop - Factorial Java Program - Stack Overflow