For this Question: Find factorial of a given number where n! = n * n-1 * n-2 .....* 1First line consists of a single integer denoting n

Constraints:-
0 <= n <= 20Output is a single line containing factorial(n)Sample Input
5

Sample Output
120

Explanation:-
5!= 5 * 4 * 3 * 2 * 1 = 120

Sample Input
10

Sample Output
3628800, I have written this Solution Code: import java.io.*;
import java.util.*;



class Main {
	public static void main (String[] args)throws IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int n=Integer.parseInt(br.readLine());

		long fact=1;
		for(int i=1; i<=n;i++){
			fact*=i;
		}
		System.out.print(fact);
	}
}, In this Programming Language: Java, Now tell me if this Code is compilable or not?