acg-lbj

 

 

public static void main(String[] args) {
System.out.println(f(1000));

}public static double f(double n){
if (n==1){
return 1;
}else {
return (n*f(n-1));
}

}
}

 

分类:

技术点:

相关文章:

  • 2021-11-29
  • 2021-09-27
  • 2021-09-27
  • 2021-09-27
  • 2021-09-27
  • 2021-10-10
  • 2021-09-27
猜你喜欢
  • 2021-04-18
  • 2021-09-27
  • 2020-11-14
  • 2021-04-04
  • 2022-01-22
相关资源
相似解决方案