用循环语句求1+2+3+……+100
摘要:
1.用while语句 1 using System; 2 class Sum100 3 { 4 static void Main() 5 { 6 int Sum, i; 7 Sum = 0; i = 1; 8 ... 阅读全文
posted @ 2014-09-13 20:23 钟离雨菲 阅读(1375) 评论(1) 推荐(0)
posted @ 2014-09-13 20:23 钟离雨菲 阅读(1375) 评论(1) 推荐(0)