官术网_书友最值得收藏!

The do-while construct

The do...while construct checks the condition after executing the step once. Even though the do...while loop is similar to the while loop, the only difference between a do...while loop and a while loop is that a do...while loop will execute the body at least once, even if the criteria is false:

do
{
loop body;
}
while (condition);
主站蜘蛛池模板: 眉山市| 庆阳市| 登封市| 大丰市| 赣榆县| 永定县| 鲁甸县| 溆浦县| 海林市| 岳池县| 台北县| 临泉县| 台湾省| 温州市| 瑞丽市| 锡林郭勒盟| 曲阳县| 蒙城县| 陆良县| 宁强县| 论坛| 寿阳县| 桐乡市| 芦溪县| 陈巴尔虎旗| 涟源市| 昭平县| 荆门市| 邹城市| 洪雅县| 高唐县| 胶州市| 伊金霍洛旗| 高邮市| 历史| 新和县| 米泉市| 通山县| 白山市| 肇庆市| 萍乡市|