public class test3{
 public static void main(String args[]){
  int i,j=1,t=0;
  for(i=1;i<=20;i++){
   j=j*i;
   t=j+t;}
  System.out.println(t);
  
}
}

Test3 求1+2!+3!+...+20!的和

相关文章:

  • 2020-06-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-22
  • 2021-05-15
  • 2022-12-23
  • 2022-02-05
  • 2022-12-23
  • 2021-10-26
相关资源
相似解决方案