import java.util.*;
public class Leicheng
{public static void main(String[]args)
{double mul=1;
int n;
for(n=1;n<=100;n++)
mul=mul*n;
System.out.println(mul);
}
}
测试结果,E后面的157表示10的157次方
原文:https://www.cnblogs.com/wanter/p/14591465.html