Factorial program in java

Factorial program in java. factorial of number means product of all whole numbers between 1 to chosen number. For example factorial of 3 is 3*2*1 which is nothing but 6.

import java.util.Scanner;

public class Programming

   public static void main(String[] args)
	   int Number,fact=1;
	   Scanner input=new Scanner(System.in);
	   System.out.print("enter N value:");
	   for (int i=1;i<=Number;i++)
	   System.out.println("Factorial of number "+Number+" is "+fact);
enter N value:4
Factorial of number 4 is 24
enter N value:6
Factorial of number 6 is 720