kananasgarli90

Minimum və maksimum

Oct 17th, 2020
601
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. #include <cmath>
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     int a, b;
  8.     cin>>a>>b;
  9.     cout<<min(a, b)<<" "<<max(a, b)<<endl;
  10. }
  11.  
RAW Paste Data