#include
using namespace std;
//从数字0打印到数字9
//用for循环
int main()
{
int i = 0;
for ( ; i < 10; i++)
{
cout << i << endl;
}
system("pause");
return 0;
}

#include
using namespace std;
//从数字0打印到数字9
//用for循环
int main()
{
int i = 0;
for ( ; i < 10; i++)
{
cout << i << endl;
}
system("pause");
return 0;
}