1.do while 循环的特点
int main()
{
int i = 10;do{
printf("%d\n", i);} while (i<10);return 0;
}//输出10
do while 至少执行一次
2.break在do while 循环
int main()
{
int i = 1;do{
if (5 == i){
break;}printf("%d ", i);i++;} while (i<=10);return 0;
}//输出1 2 3 4
3.continue在do while 循环
int main()
{
int i = 1;do{
if (5 == i){
continue;}printf("%d ", i);i++;} while (i<=10);return 0;
}//输出1 2 3 4,然后死循环