#include <iostream>
using std::cin;
using std::cout;
using std::endl;
int main() {
int start = 0, end = 0, temp = 0;
cin >> start >> end;
if (start > end) {
temp = start;
start = end;
end = temp;
}
while (start <= end) {
cout << start << " ";
++start;
}
cout << endl;
}
网友评论