提交时间:2021-12-18 15:16:27

运行 ID: 21331

#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; }