(String[] args)
| 10 | |
| 11 | class factoflargenum { |
| 12 | public static void main (String[] args) { |
| 13 | Scanner sc = new Scanner(System.in); |
| 14 | int t = sc.nextInt(); |
| 15 | while(t-->0) |
| 16 | { |
| 17 | int n = sc.nextInt(); |
| 18 | BigInteger bg = BigInteger.ONE; |
| 19 | for(int i=n;i>0;i--) |
| 20 | bg = bg.multiply(BigInteger.valueOf(i)); |
| 21 | System.out.println(bg); |
| 22 | } |
| 23 | } |
| 24 | } |
nothing calls this directly
no outgoing calls
no test coverage detected