提交时间:2021-12-18 15:18:24

运行 ID: 21335

#include <iostream> using namespace std; int main( ) { int x1,x2,i=x1; cin>>x1>>x2; while(i<=x2) { if(i%2==0) cout<<i<<" "; i++; } return 0; }