摘要: while循环:先判断在循环 int i = 0; while (i <= 10) { if (i == 5) { i++; continue;//结束本次循环,进入下一次循环, } else if (i == 9) { break;//跳出整个循环 } Console.Write(i + "\t" 阅读全文
posted @ 2021-02-10 23:31 Akai_啊凯 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 判断语句:if else if else【如果--否则 其他,另外的】 , 异常处理语句:try catch finally【尝试 拦截 最终】 //判断闰年:闰年也就是二月份有29天,普通闰年:bai能被4整除但du不能被100整除,世纪闰年:能被400整除的为世纪闰年。 Console.Writ 阅读全文
posted @ 2021-02-10 18:51 Akai_啊凯 阅读(823) 评论(0) 推荐(0) 编辑