#include<iostream>using namespace std;int main(){ ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); int a,b,c; cin>>a>>b>>c; if(b<a) c=-c; cout<<a; while(a!=b){ a+=c; cout<<" "<<a; }}
while(a!=b) 這裡