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

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);
主站蜘蛛池模板: 平武县| 林州市| 金山区| 临洮县| 喀喇| 云阳县| 茶陵县| 随州市| 章丘市| 皋兰县| 平乐县| 弋阳县| 洛南县| 铁岭市| 吉木萨尔县| 无极县| 措美县| 韶山市| 崇信县| 丹凤县| 呼伦贝尔市| 宁陕县| 隆林| 禹城市| 翼城县| 鹤岗市| 河池市| 辽宁省| 海阳市| 垫江县| 咸丰县| 广宁县| 宜川县| 大兴区| 开鲁县| 延吉市| 阜阳市| 宁安市| 肇源县| 鹤峰县| 集安市|