練習(17.09.06)

練習3: 求1+2!+3!+...+20!的和 public class test3 { public static void main(String[] args) { // TODO 自動生成的方法存根       int i,j;       long sum=0;    //定義變量賦初值       long k=1;       for(i=1;i<=20;i++){        
相關文章
相關標籤/搜索