#include<bits/stdc++.h>//fixed<<setprecision(2)
using namespace std;//for(int i=1;i<=a;i++)
int main()//
{
int a;
cin>>a;
for(int i=1;i<=a;i++)
if(i%2==0)
cout<<setw(4)<<i;
return 0;
}
找出N以内的偶数
猜你喜欢
转载自blog.csdn.net/m0_52628784/article/details/110671469
今日推荐
周排行