相遇'不要钱'

导航

2014年4月8日 #

相关代码

摘要: public class Demo { public static void main(String []args){ toJcSum(5); toPrime(); arrayBo(20); arrayFeiBoNaQi(20); toChengFa(); snSum(); } //打印阶乘之和 public static void toJcSum(int n){ int sum=0; for (int i = 1; i <=n; i++) {//求阶乘和 int count=1; for (int j = 1; j <=i; j++) {//求阶乘 count... 阅读全文

posted @ 2014-04-08 21:14 相遇'不要钱' 阅读(137) 评论(0) 推荐(0)