实例 C++ 找出两个数字的最小值

x
 
#include <iostream>
using namespace std;
int main() {
  cout << min(5, 10);
  return 0;
}
                    

输出结果

5