java.util.Scanner Import; public class Whilejc { public static void main (String [] args) { Scanner Scanner new new = S (the System.in); System.out.println ( "Welcome factorial calculator enter a integer "); int s.nextInt A = (); int D = A; int = B-A. 1; int C = A * B; the while (B>. 1) { A = B; B -; C = C B *; } System.out.println (D + "is the factorial" + C); } }