小学生趣味C++编程第19课 比大小

#include<iostream>
using namespace std;
int main()
{
  int a,b,t;
  cout<<"a,b=";
  cin>>a>>b;
  if(a<=b)
    cout<<a<<"  "<<b<<endl; 
  else
    cout<<b<<"  "<<a<<endl;
  return 0;
} 

  

猜你喜欢

转载自www.cnblogs.com/kixiaoyuan/p/12694971.html
今日推荐