循环语句的理解

  #include <iostream> int X, a,Y,b; int main( ) { std::cout<<"请输入任意两个数,系统会打印出介于这两个数字区间内的全部数"<<std::endl; std::cin>>a>>b; if(a<=b) { X=a; Y=b; } else{ X=b; Y=a; } for(int q;X<=Y; ++X) { std::cout<<X<
相关文章
相关标签/搜索