public class e{? ? public static void main(String args[]){? ? ? ? int i=100,max=200,j=1,c=1,sum=0;? ? ? ?for(;i<=max;i++){? ? ? ? ? ?for(;j<=i;j++){? ? ? ? ? ? ? c=(c*j);? ? ? ? ? ? ?}?? ? ? ? ? ? sum=sum+c;? ? ? ? ?}? ?System.out.println(" "+sum);?}}
輸出為0,哪里錯(cuò)了
不想碼字的碼農(nóng)
2017-03-24 19:41:06