#include<stdio.h>
int main()
{
int i=1;
do //do表示将数字带入入口
{
printf("%d ",i);//在此打印
i++;
}
while (i<=10); //满足该条件进行循环打印
return 0;
}
标签:do,return,...,int,打印,while From: https://blog.51cto.com/u_16329012/8134099
#include<stdio.h>
int main()
{
int i=1;
do //do表示将数字带入入口
{
printf("%d ",i);//在此打印
i++;
}
while (i<=10); //满足该条件进行循环打印
return 0;
}
标签:do,return,...,int,打印,while From: https://blog.51cto.com/u_16329012/8134099