摘要: 输入一个正整数n,若n为奇数,程序计算出数列1+3+5....+n;若n为偶数,则计算出2+4+6....+n之和 using System;using System.Collections.Generic;using System.Linq;using System.Text;using Syst 阅读全文
posted @ 2017-09-18 20:57 刘振宇201612052458 阅读(140) 评论(0) 推荐(0) 编辑