循环
#include <bits/stdc++.h>
using namespace std;
int main()
{
int i;
for (i=1;i<=100;i++) cout<<i<<" ";
return 0;
}
#include <bits/stdc++.h>
using namespace std;
int main()
{
int i;
for (i=10;i>=1;i=i-2) cout<<i<<" ";
return 0;
}
#include <bits/stdc++.h>
using namespace std;
int main()
{
int i;
for (i=100;i>=0;i=i-3) cout<<i<<" ";
return 0;
}