fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. double x, y;
  7. cin >> x >> y;
  8. if (x<=y)
  9. cout <<"min="<< x << endl;
  10. else
  11. cout << "min=" << y << endl;
  12. return 0;
  13. }
Success #stdin #stdout 0s 3464KB
stdin
15 15
stdout
min=15