#include <iostream>
#include <string>
using namespace std;
void test01()
{
for (int i=0;i<3;i++)
{
cout << "i=" << i << endl;
}
}
int main()
{
test01();
system("pause");
}
for循环
最新推荐文章于 2024-07-04 17:05:45 发布
#include <iostream>
#include <string>
using namespace std;
void test01()
{
for (int i=0;i<3;i++)
{
cout << "i=" << i << endl;
}
}
int main()
{
test01();
system("pause");
}