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次方
标签:157,int,System,阶乘,mul,100,public
来源: https://www.cnblogs.com/wanter/p/14591465.html