#include<iostream>
using namespace std;
int main()
{
//while循环
//在屏幕中打印0~9这10个数字
int num = 0;
//while()中填入循环条件
while (num < 10)
{
cout << num << endl;
num++;
}
return 0;
}
#include<iostream>
using namespace std;
int main()
{
//while循环
//在屏幕中打印0~9这10个数字
int num = 0;
//while()中填入循环条件
while (num < 10)
{
cout << num << endl;
num++;
}
return 0;
}